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