<?php namespace App\Models;

use CodeIgniter\Model;

class ProductsModel extends Model {
	protected $table 		= 'products';
	protected $primaryKey 	= 'productid';
	protected $allowedFields = [ 'siteid', 'productnumber', 'productname', 'catalogid', 'accountid_productowner',
		'installationdate', 'locationstartdate', 'locationenddate', 'warrantystartdate', 'warrantyenddate', 
		'productowner', 'productserviceid', 'statuspart', 'active',
		'remotetool', 'remoteid', 'remotepwd', 'createdate', 'enddate' ];
}