<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Finance extends Model
{
    use HasFactory;

    protected $table = 'finance';

    protected $fillable = [
        'tanggal', 'pemasukan', 'pengeluaran', 'keuntungan', 'keterangan'
    ];

    public $timestamps = true; // Jika tabel tidak punya created_at & updated_at
}
