<?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";
}
abstract class TableBase {
	const C_ORG_ID = "ORG_ID" ;
	const C_COY_ID = "COY_ID";
	const C_ACTIVE = "IS_ACTIVE";
}

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()";
}

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