<?php

namespace App\Models;

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

class DataPenjualan extends Model
{
    use HasFactory;

    protected $table = 'data_penjualan';

    protected $fillable = [
        'user_id',
        'tanggal',
        'jumlah',
    ];

    protected $casts = [
    'tanggal' => 'date',
    ];
}