'integer', 'unit_price' => 'decimal:2', 'discount_amount' => 'decimal:2', 'tax_amount' => 'decimal:2', 'subtotal' => 'decimal:2', 'performed_datetime' => 'datetime', ]; // Relationships public function transaction(): BelongsTo { return $this->belongsTo(Transaction::class, 'transaction_id'); } public function procedure(): BelongsTo { return $this->belongsTo(Procedure::class, 'procedure_id'); } public function performer(): BelongsTo { return $this->belongsTo(Employee::class, 'performed_by'); } }