Your IP : 216.73.216.93


Current Path : /home/users/unlimited/www/admin.brosiper.codeskitter.site/app/Models/
Upload File :
Current File : /home/users/unlimited/www/admin.brosiper.codeskitter.site/app/Models/StoreSchedule.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class StoreSchedule extends Model
{
    use HasFactory;

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'store_schedule';

    protected $casts = [
        'day'=>'integer',
        'store_id'=>'integer',
    ];

    protected $fillable = ['store_id','day','opening_time','closing_time'];

    public function store()
    {
        return $this->belongsTo(Store::class);
    }
}