2020-04-15 23:08:09 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by Reliese Model.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class WalletAgent
|
2020-08-24 16:29:50 +00:00
|
|
|
*
|
2020-04-15 23:08:09 +00:00
|
|
|
* @property int $wallet_id
|
|
|
|
* @property float $balance_princ
|
|
|
|
* @property float $balance_com
|
|
|
|
* @property Carbon $created_date
|
2020-08-24 16:29:50 +00:00
|
|
|
* @property int $networks_agent_id
|
2020-04-15 23:08:09 +00:00
|
|
|
* @property int $agent_id
|
|
|
|
* @property string $lastname
|
2020-08-24 16:29:50 +00:00
|
|
|
* @property string $codeMembre
|
|
|
|
* @property string $codeParrain
|
|
|
|
* @property string $category
|
2020-04-15 23:08:09 +00:00
|
|
|
* @property int $network_id
|
|
|
|
* @property string $network
|
2020-08-24 16:29:50 +00:00
|
|
|
* @property string $currency_code
|
|
|
|
* @property string $transactionNumber
|
2020-04-15 23:08:09 +00:00
|
|
|
*
|
|
|
|
* @package App\Models
|
|
|
|
*/
|
|
|
|
class WalletAgent extends Model
|
|
|
|
{
|
|
|
|
protected $table = 'wallet_agent';
|
|
|
|
public $incrementing = false;
|
|
|
|
public $timestamps = false;
|
|
|
|
|
|
|
|
protected $casts = [
|
2020-08-24 16:29:50 +00:00
|
|
|
'wallet_id' => 'int',
|
|
|
|
'balance_princ' => 'float',
|
|
|
|
'balance_com' => 'float',
|
|
|
|
'networks_agent_id' => 'int',
|
|
|
|
'agent_id' => 'int',
|
|
|
|
'network_id' => 'int'
|
|
|
|
];
|
2020-04-15 23:08:09 +00:00
|
|
|
|
|
|
|
protected $dates = [
|
|
|
|
'created_date'
|
|
|
|
];
|
|
|
|
|
|
|
|
protected $fillable = [
|
2020-08-24 16:29:50 +00:00
|
|
|
'wallet_id',
|
|
|
|
'balance_princ',
|
|
|
|
'balance_com',
|
|
|
|
'created_date',
|
|
|
|
'networks_agent_id',
|
|
|
|
'agent_id',
|
|
|
|
'lastname',
|
|
|
|
'codeMembre',
|
|
|
|
'codeParrain',
|
|
|
|
'category',
|
|
|
|
'network_id',
|
|
|
|
'network',
|
|
|
|
'currency_code',
|
|
|
|
'transactionNumber'
|
|
|
|
];
|
2020-04-15 23:08:09 +00:00
|
|
|
}
|