Files
cheerstothe_season_2.0/app/Models/RestaurantClosedHour.php
sayliraut e2141fb7c3 changes
2024-08-01 16:46:51 +05:30

21 lines
433 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class RestaurantClosedHour extends Model
{
use HasFactory;
protected $table = 'restaurant_closed_hours';
protected $fillable = ['restaurant_id', 'day_of_week', 'start_time', 'end_time'];
public function restaurant()
{
return $this->belongsTo(ManageRestaurant::class);
}
}