ldc-supportweb/app/Models/Dutyhour.php

44 lines
709 B
PHP
Raw Permalink Normal View History

2023-04-18 10:46:40 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* @property date $date
* @property string $person
* @property string $place
*/
2023-04-18 10:46:40 +00:00
class Dutyhour extends Model
{
use HasFactory;
/**
* Indicates if the model should be timestamped.
*
* @var boolean
*/
public $timestamps = true;
/**
* The attributes that are fillable.
2023-04-18 10:46:40 +00:00
*
* @var array
*/
protected $fillable = [
'date',
'person',
'place'
2023-04-18 10:46:40 +00:00
];
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $casts = [
'date' => 'date'
];
}