<?php
class CustomerLocationTable extends Table {
	const C_TABLE                       = "CUSTOMER_LOCATION" ;
	const C_ID                          = "CUSTOMER_LOCATION_ID";
	const C_CODE                        = "CUSTOMER_LOCATION_CODE";
	const C_NAME                        = "CUSTOMER_LOCATION_NAME";
	const C_CUST_ID                     = "CUSTOMER_LOCATION_CUSTOMER_ID";
	const C_CONTACT_NAME                = "CUSTOMER_LOCATION_CONTACT_NAME";
	const C_CONTACT_PHONE               = "CUSTOMER_LOCATION_CONTACT_PHONE";
	const C_CONTACT_EMAIL               = "CUSTOMER_LOCATION_CONTACT_EMAIL";
	const C_ADDRESS                     = "CUSTOMER_LOCATION_ADDRESS";
	const C_POSTAL_CODE                 = "CUSTOMER_LOCATION_POSTAL_CODE";
}

class CustomerLocationTableDetail extends TableDetail {
	const C_ID                          = "identity|||";
	const C_CODE                        = "nvarchar|50|NO|''";
	const C_NAME                        = "nvarchar|255|NO|''";
	const C_CUST_ID                     = "int||NO|(0)";
	const C_CONTACT_NAME                = "nvarchar|255|NO|''";
	const C_CONTACT_PHONE               = "nvarchar|50|NO|''";
	const C_CONTACT_EMAIL               = "nvarchar|100|NO|''";
	const C_ADDRESS                     = "text||NO|''";
	const C_POSTAL_CODE               	= "nvarchar|10|NO|''";
}
?>