crm-summit/app/Models/VendorsModel.php

9 lines
297 B
PHP
Raw Permalink Normal View History

2024-04-24 13:20:52 +07:00
<?php namespace App\Models;
use CodeIgniter\Model;
class VendorsModel extends Model {
protected $table = 'vendors';
protected $primaryKey = 'vendorid';
protected $allowedFields = [ 'vendorname', 'initial', 'principal', 'email_1', 'email_2', 'phone', 'website', 'createdate', 'enddate' ];
}