<?php namespace App\Models;

use CodeIgniter\Model;

class ActivitiesModel extends Model {
	protected $table 		= 'activities';
	protected $primaryKey 	= 'actid';
	protected $allowedFields = [ 
		'actid_ref', 'acttypeid', 'subject', 'actby', 'productid', 'siteid', 'vendorid',
		'contactid', 'media', 'action', 'swversion',
		'userid_creator', 'userid_owner', 'reportfrom', 'reportdate', 
		'opendate', 'closedate', 'activitystatus', 'attachment'
	];
}