50 lines
916 B
PHP
50 lines
916 B
PHP
<?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
|
|
* @property int $statut
|
|
* @property Carbon $date_validation
|
|
* @property Carbon $date_creation
|
|
* @property string $type
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class UsersGroupsDemandesValidation extends Model
|
|
{
|
|
protected $table = 'users_groups_demandes_validations';
|
|
public $timestamps = false;
|
|
|
|
protected $casts = [
|
|
'id_group' => 'int',
|
|
'id_sponsor' => 'int',
|
|
'statut' => 'int'
|
|
];
|
|
|
|
protected $dates = [
|
|
'date_validation',
|
|
'date_creation'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'id_group',
|
|
'id_sponsor',
|
|
'statut',
|
|
'date_validation',
|
|
'date_creation',
|
|
'type'
|
|
];
|
|
}
|