<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class UserShift extends Model { protected $table = 't_users_shift'; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at'; protected $fillable = [ 'user_id', 'project_id', 'from_date', 'to_date', 'remarks', 'mon_shift_id','tue_shift_id','wed_shift_id','thu_shift_id','fri_shift_id','sat_shift_id','sun_shift_id', 'created_at', 'created_by', 'updated_at', 'updated_by' ]; }