'timestamp', 'created_at' => 'timestamp', ]; public function getEntityType() { return self::class; } protected $touches = []; /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function company() { return $this->belongsTo(Company::class); } /** * @return mixed */ public function client() { return $this->belongsTo(Client::class)->withTrashed(); } // /** // * @return \Illuminate\Database\Eloquent\Relations\HasMany // */ // public function tasks() // { // return $this->hasMany('App\Models\Task'); // } }