2026-01-20 09:44:05 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class UtilityFee extends Model
|
|
|
|
|
{
|
2026-01-21 11:46:16 +08:00
|
|
|
use HasFactory;
|
2026-01-20 09:44:05 +08:00
|
|
|
|
|
|
|
|
protected $fillable = [
|
|
|
|
|
'transaction_date',
|
|
|
|
|
'category',
|
|
|
|
|
'amount',
|
|
|
|
|
'invoice_number',
|
|
|
|
|
'description',
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
protected $casts = [
|
2026-01-20 13:02:05 +08:00
|
|
|
'transaction_date' => 'date:Y-m-d',
|
2026-01-20 09:44:05 +08:00
|
|
|
'amount' => 'decimal:2',
|
|
|
|
|
];
|
|
|
|
|
}
|