'datetime']; protected $guarded = []; public function service() { return $this->belongsTo(Service::class); } public function customer() { return $this->belongsTo(Customer::class); } public function scopePending($query) { return $query->where('status', self::STATUS_PENDING); } }