|
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Schedule extends Model
|
|
{
|
|
/**
|
|
* The attributes that are not mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
|
|
protected $guarded = [ 'id' ];
|
|
|
|
/**
|
|
*
|
|
*
|
|
*/
|
|
public function client()
|
|
{
|
|
return $this->belongsTo(Client::class);
|
|
}
|
|
}
|