31 lines
575 B
PHP
31 lines
575 B
PHP
<?php
|
|
|
|
namespace Modules\Admin\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Admin\Database\factories\HolidayFactory;
|
|
|
|
class Holiday extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'tbl_holidays';
|
|
|
|
protected $primaryKey = "holiday_id";
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'title',
|
|
'alias',
|
|
'date',
|
|
'status',
|
|
'description',
|
|
'remarks',
|
|
'createdBy',
|
|
'updatedBy'
|
|
];
|
|
}
|