'timestamp', 'created_at' => 'timestamp', 'deleted_at' => 'timestamp', ]; protected $touches = []; public function getEntityType() { return self::class; } public function user() { return $this->belongsTo(User::class)->withTrashed(); } public function company() { return $this->belongsTo(Company::class); } public function company_ledgerable() { return $this->morphTo(); } public function client() { return $this->belongsTo(Client::class); } }