Browse Source

add refferal models

pull/1/head
wahyuun 10 months ago
parent
commit
c656ed26e1
  1. 29
      app/Models/RefferalCode.php

29
app/Models/RefferalCode.php

@ -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…
Cancel
Save