polishing, some breadcrumbs, predefined mutations implemented more
This commit is contained in:
@@ -12,16 +12,15 @@ class PredefinedMutation extends Model
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'dynamic_id',
|
||||
'ledger_id',
|
||||
'name',
|
||||
'description',
|
||||
'amount',
|
||||
'type',
|
||||
];
|
||||
|
||||
public function dynamic(): BelongsTo
|
||||
public function ledger(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Dynamic::class);
|
||||
return $this->belongsTo(Ledger::class);
|
||||
}
|
||||
|
||||
protected static function booted(): void
|
||||
|
||||
Reference in New Issue
Block a user