3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/app/ShowDate.php

32 lines
490 B
PHP
Raw Normal View History

2021-06-27 19:01:43 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class ShowDate extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'show_dates';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'show_id', 'date'
];
public function show() {
return $this->belongsTo('\App\Show');
}
}