<?php

namespace App\Models;

use CodeIgniter\Model;

class SupplierModel extends Model
{
    protected $table = 'suppliers';
    protected $primaryKey = 'id';
    protected $allowedFields = ['nama', 'email', 'kontak_person', 'telepon', 'alamat', 'created_at', 'diubah'];
    protected $useTimestamps = true;
    protected $createdField = 'created_at';
    protected $updatedField  = '';
}
