ldc-bogt/app/Models/CafelEggMiseEnPlace.php
2022-10-27 17:36:46 +02:00

50 lines
876 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CafelEggMiseEnPlace extends Model
{
/**
* The primary key for the model.
*
* @var string
*/
protected $primaryKey = 'batch_code';
/**
* Indicates if the IDs are auto-incrementing.
*
* @var boolean
*/
public $incrementing = false;
/**
* Indicates if the model should be timestamped.
*
* @var boolean
*/
public $timestamps = false;
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'transfert_date' => 'date',
'inuav_codes' => 'array'
];
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'batch_code',
'inuav_codes',
'transfert_date'
];
}