50 lines
1.3 KiB
PHP
50 lines
1.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class Regulation
|
|
*
|
|
* @property int $id
|
|
* @property int $id_country
|
|
* @property float $montant_max_jour_national
|
|
* @property float $montant_max_hebdo_national
|
|
* @property float $montant_max_mensuel_national
|
|
* @property float $montant_max_jour_international
|
|
* @property float $montant_max_hebdo_international
|
|
* @property float $montant_max_mensuel_international
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class Regulation extends Model
|
|
{
|
|
protected $table = 'regulations';
|
|
public $timestamps = false;
|
|
|
|
protected $casts = [
|
|
'id_country' => 'int',
|
|
'montant_max_jour_national' => 'float',
|
|
'montant_max_hebdo_national' => 'float',
|
|
'montant_max_mensuel_national' => 'float',
|
|
'montant_max_jour_international' => 'float',
|
|
'montant_max_hebdo_international' => 'float',
|
|
'montant_max_mensuel_international' => 'float'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'id_country',
|
|
'montant_max_jour_national',
|
|
'montant_max_hebdo_national',
|
|
'montant_max_mensuel_national',
|
|
'montant_max_jour_international',
|
|
'montant_max_hebdo_international',
|
|
'montant_max_mensuel_international'
|
|
];
|
|
}
|