'int' ]; /** * The attributes that should be to enum. * * @var string[] */ protected $enumCasts = [ 'day' => Days::class ]; }