<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Laravel\Sanctum\HasApiTokens;

class ProdukModel extends Model
{
    use HasFactory;
    use HasApiTokens;
    public $timestamps = true;
    protected $table = "v_produk2";

      protected $fillable = [
         'id', 'kode','nama_kategori', 'nama_barang', 'id_kategori', 'harga_jual', 'harga_grosir', 'harga_beli', 'stok', 'satuan', 'created_at','gambar','is_update','harga_shopee_food','harga_go_food','keterangan'
      ];

}
