<?php
abstract class Table extends TableBase  {
	const C_WS_ID 						= "WORKSTATION_ID" ;
	const C_MODIFY_BY 					= "MODIFY_BY";
	const C_MODIFY_DATE 				= "MODIFY_DATE";
	const C_CREATE_BY 					= "CREATE_BY";
	const C_CREATE_DATE 				= "CREATE_DATE";
	const C_ACTIVE_STATUS 				= "ACTIVE_STATUS";
}
abstract class TableBase {
	 const C_ORG_ID 						= "ORG_ID" ;
	 const C_COY_ID 						= "COY_ID";
}


abstract class TableDetail extends TableBaseDetail  {
	const C_WS_ID                       = "nvarchar|30|NO|''" ;
	const C_MODIFY_BY                   = "int||NO|(0)";
	const C_MODIFY_DATE                 = "datetime||NO|getdate()";
	const C_CREATE_BY                   = "int||NO|(0)";
	const C_CREATE_DATE                 = "datetime||NO|getdate()";
	const C_ACTIVE_STATUS               = "int||NO|(1)" ;
}

abstract class TableBaseDetail {
	 const C_ORG_ID                      = "int||NO|(0)" ;
	 const C_COY_ID                      = "int||NO|(0)";
}

abstract class TableDescription extends TableBaseDescription  {
	const C_WS_ID                       = "Workstation ID" ;
	const C_MODIFY_BY                   = "Modify By";
	const C_MODIFY_DATE                 = "Modify Date";
	const C_CREATE_BY                   = "Create By";
	const C_CREATE_DATE                 = "Create Date";
	const C_ACTIVE_STATUS               = "Active Status" ;
}
abstract class TableBaseDescription {
	 const C_ORG_ID                      = "Organization" ;
	 const C_COY_ID                      = "Company";
}

abstract class TableReference extends TableBaseReference  {
	const C_WS_ID                       = "col_wsid" ;
	const C_MODIFY_BY                   = "col_modifyby";
	const C_MODIFY_DATE                 = "col_modifydate";
	const C_CREATE_BY                   = "col_createby";
	const C_CREATE_DATE                 = "col_createdate";
	const C_ACTIVE_STATUS               = "col_activestatus" ;
}
abstract class TableBaseReference {
	 const C_ORG_ID                      = "col_orgid" ;
	 const C_COY_ID                      = "col_coyid";
}
?>