You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
487 B
30 lines
487 B
10 months ago
|
<?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'
|
||
|
];
|
||
|
}
|