55 lines
917 B
PHP
55 lines
917 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Created by Reliese Model.
|
||
|
*/
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
/**
|
||
|
* Class WalletAgent
|
||
|
*
|
||
|
* @property int $wallet_id
|
||
|
* @property float $balance_princ
|
||
|
* @property float $balance_com
|
||
|
* @property Carbon $created_date
|
||
|
* @property int $agent_id
|
||
|
* @property string $lastname
|
||
|
* @property int $network_id
|
||
|
* @property string $network
|
||
|
*
|
||
|
* @package App\Models
|
||
|
*/
|
||
|
class WalletAgent extends Model
|
||
|
{
|
||
|
protected $table = 'wallet_agent';
|
||
|
public $incrementing = false;
|
||
|
public $timestamps = false;
|
||
|
|
||
|
protected $casts = [
|
||
|
'wallet_id' => 'int',
|
||
|
'balance_princ' => 'float',
|
||
|
'balance_com' => 'float',
|
||
|
'agent_id' => 'int',
|
||
|
'network_id' => 'int'
|
||
|
];
|
||
|
|
||
|
protected $dates = [
|
||
|
'created_date'
|
||
|
];
|
||
|
|
||
|
protected $fillable = [
|
||
|
'wallet_id',
|
||
|
'balance_princ',
|
||
|
'balance_com',
|
||
|
'created_date',
|
||
|
'agent_id',
|
||
|
'lastname',
|
||
|
'network_id',
|
||
|
'network'
|
||
|
];
|
||
|
}
|