61 lines
1.3 KiB
PHP
Executable File
61 lines
1.3 KiB
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class ConfigWallet
|
|
*
|
|
* @property int $id
|
|
* @property float $taux_com_client_retrait
|
|
* @property float $taux_com_client_depot
|
|
* @property float $taux_com_ag_retrait
|
|
* @property float $taux_com_ag_depot
|
|
* @property float $taux_com_sup_retrait
|
|
* @property float $taux_com_sup_depot
|
|
* @property float $part_banque_retrait
|
|
* @property float $part_banque_depot
|
|
* @property float $frais_min_banque_depot
|
|
* @property int $id_network
|
|
*
|
|
* @property Network $network
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class ConfigWallet extends Model
|
|
{
|
|
protected $table = 'configWallet';
|
|
public $timestamps = false;
|
|
|
|
protected $casts = [
|
|
'taux_com_client_retrait' => 'float',
|
|
'taux_com_client_depot' => 'float',
|
|
'taux_com_ag_retrait' => 'float',
|
|
'taux_com_ag_depot' => 'float',
|
|
'taux_com_sup_retrait' => 'float',
|
|
'taux_com_sup_depot' => 'float',
|
|
'part_banque_retrait' => 'float',
|
|
'part_banque_depot' => 'float',
|
|
'frais_min_banque_depot' => 'float',
|
|
'id_network' => 'int'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'taux_com_retrait',
|
|
'taux_com_ag_retrait',
|
|
'com_depot',
|
|
'taux_com_ag_depot',
|
|
'id_network'
|
|
];
|
|
|
|
public function network()
|
|
{
|
|
return $this->belongsTo(Network::class, 'id_network');
|
|
}
|
|
}
|