walletservice/app/Models/UsersGroupsDemandesValidati...

58 lines
1.1 KiB
PHP
Raw Normal View History

2020-08-03 07:42:28 +00:00
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class UsersGroupsDemandesValidation
*
* @property int $id
* @property int $id_group
* @property int $id_sponsor
2020-08-20 16:21:38 +00:00
* @property int $id_user
2020-08-24 16:29:50 +00:00
* @property int $id_agent
* @property string $id_demande
2020-08-03 07:42:28 +00:00
* @property int $statut
* @property Carbon $date_validation
* @property Carbon $date_creation
* @property string $type
2020-08-03 07:42:28 +00:00
*
* @package App\Models
*/
class UsersGroupsDemandesValidation extends Model
{
protected $table = 'users_groups_demandes_validations';
public $timestamps = false;
protected $casts = [
'id_group' => 'int',
'id_sponsor' => 'int',
2020-08-20 16:21:38 +00:00
'id_user' => 'int',
2020-08-24 16:29:50 +00:00
'id_agent' => 'int',
2020-08-03 07:42:28 +00:00
'statut' => 'int'
];
protected $dates = [
'date_validation',
'date_creation'
];
protected $fillable = [
'id_group',
'id_sponsor',
2020-08-20 16:21:38 +00:00
'id_user',
2020-08-24 16:29:50 +00:00
'id_agent',
'id_demande',
2020-08-03 07:42:28 +00:00
'statut',
'date_validation',
'date_creation',
'type'
2020-08-03 07:42:28 +00:00
];
}