belongsTo(Account::class); } /** * Get the User record associated with the audit log. * * @return BelongsTo */ public function author() { return $this->belongsTo(User::class); } /** * Get the Contact record associated with the audit log. * * @return BelongsTo */ public function contact() { return $this->belongsTo(Contact::class, 'about_contact_id'); } /** * Get the JSON object. * * @return array * @param mixed $value */ public function getObjectAttribute($value) { return json_decode($this->objects); } }