'timestamp', 'created_at' => 'timestamp', ]; public function documents() { return $this->morphMany(Document::class, 'documentable'); } public function assigned_user() { return $this->belongsTo(User::class, 'assigned_user_id', 'id')->withTrashed(); } public function user() { return $this->belongsTo(User::class); } public function client() { return $this->belongsTo(Client::class); } }