<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class KomuditiPurchase extends Model
{
    protected $table = 'komuditi_purchase';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'unit_komuditi','purchased_by','date_purchase','nilai','no_sijil','kodproduct','time_purchase'
    ];

    /**
     * The attributes excluded from the model's JSON form.
     *
     * @var array
     */
    // protected $hidden = [];

    public function getBalance(){
        
    }
}