<?php

namespace App\Models;

use CodeIgniter\Model;

class PurchaseModel extends Model
{
    protected $table='purchases';

    protected $primaryKey='id_purchase';

    protected $returnType='array';

    protected $allowedFields=[

        'nomor_purchase',

        'id_supplier',

        'total_biaya',

        'tanggal_beli'

    ];
}