40 lines
751 B
PHP
40 lines
751 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
class Eleveur extends Model
|
|
{
|
|
use SoftDeletes;
|
|
|
|
public $timestamps = false;
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'code_cafel',
|
|
'code_ede',
|
|
'civilite',
|
|
'nom',
|
|
'prenom',
|
|
'naissance',
|
|
'cp',
|
|
'ville',
|
|
'elv_date_debut',
|
|
'code_inuav',
|
|
'exploitation',
|
|
'aboutyou',
|
|
'vocation',
|
|
'likeinjob',
|
|
'loue_means',
|
|
'path_photo1',
|
|
'path_photo2'
|
|
];
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $table = 'eleveurs';
|
|
}
|