<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Shift extends Model { protected $table = 'm_shift'; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at'; protected $fillable = [ 'label', 'flex_time_minute', 'start_time', 'end_time', 'is_non_shift', 'created_at', 'created_by', 'updated_at', 'updated_by' ]; }