<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Holiday extends Model { protected $table = 'm_holidays'; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at'; protected $fillable = [ 'proyek_id', 'duration', 'version_gantt_id', 'date', 'description', 'created_at', 'created_by', 'updated_at', 'updated_by' ]; }