'boolean', ]; public function backup() { return $this->hasOne(Backup::class); } /** * @return mixed */ public function user() { return $this->belongsTo(User::class)->withTrashed(); } /** * @return mixed */ public function contact() { return $this->belongsTo(ClientContact::class)->withTrashed(); } /** * @return mixed */ public function client() { return $this->belongsTo(Client::class)->withTrashed(); } /** * @return mixed */ public function invoice() { return $this->belongsTo(Invoice::class)->withTrashed(); } /** * @return mixed */ public function payment() { return $this->belongsTo(Payment::class)->withTrashed(); } public function task() { return $this->belongsTo(Task::class)->withTrashed(); } public function expense() { return $this->belongsTo(Expense::class)->withTrashed(); } }