feat: updates
This commit is contained in:
@@ -16,6 +16,11 @@ class Account extends Model
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
public function getTypeAttribute(): string
|
||||
{
|
||||
return $this->accountType->type;
|
||||
}
|
||||
|
||||
public function accountType(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(AccountType::class);
|
||||
|
||||
Reference in New Issue
Block a user