<?php
class AuditLogTable {
	
	const C_TABLE       = "AUDIT_LOG" ;
	
	const C_ID          = "LOG_ID" ;
	const C_LOG_TABLE   = "LOG_TABLE" ;
	const C_USER        = "LOG_USER" ;
	const C_DATE        = "LOG_DATE" ;
	const C_DESC        = "LOG_DESC" ;
	const C_WS          = "WORKSTATION_ID" ;
	const C_ORG_ID      = "ORG_ID";

	const C_ACT_TYPE	= "LOG_ACTIVITY_TYPE"; 
	const C_DATA		= "LOG_DATA"; 
	
}

class AuditLogTableDetail {
	const C_ID          = "int||NO|(0)";
	const C_LOG_TABLE 	= "nvarchar|100|NO|''";
	const C_USER  		= "int||NO|(0)";
	const C_DATE        = "datetime||NO|getdate()";
	const C_DESC		= "ntext||YES|''";	
	const C_WS          = "nvarchar|30|NO|''";
	const C_ORG_ID      = "int||NO|(0)";

	const C_ACT_TYPE	= "int||NO|(0)";
	const C_DATA		= "ntext||YES|''";	
}
?>