wahyuun
9 months ago
1 changed files with 29 additions and 0 deletions
@ -0,0 +1,29 @@
|
||||
<?php |
||||
|
||||
namespace App\Models; |
||||
|
||||
use Illuminate\Database\Eloquent\Model; |
||||
|
||||
class RefferalCode extends Model |
||||
{ |
||||
protected $table = 'refferal_code'; |
||||
|
||||
const CREATED_AT = 'created_at'; |
||||
const UPDATED_AT = 'updated_at'; |
||||
|
||||
protected $fillable = [ |
||||
'id', |
||||
'code', |
||||
'amount', |
||||
'exp', |
||||
'type', |
||||
'allocation', |
||||
'description', |
||||
'created_at', |
||||
'created_by', |
||||
'updated_at', |
||||
'updated_by', |
||||
'deleted_at', |
||||
'deleted_by' |
||||
]; |
||||
} |
Loading…
Reference in new issue