<?php
class GoodsDeliveryTable extends Table {
	
	const C_TABLE                       = "GOODS_DELIVERY" ;
	const C_ID                          = "GOODS_DELIVERY_ID";
	const C_GRN_ID                 		= "GOODS_RECEIVING_ID";
	const C_CODE                        = "GOOD_DELIVERY_CODE";
	const C_USER_ID           			= "GOOD_DELIVERY_USER_ID";
	const C_USER_LOC_ID           		= "GOOD_DELIVERY_USER_LOCATION_ID";
	const C_DATE                 		= "GOODS_DELIVERY_DATE";
	const C_REMARK                 		= "GOODS_DELIVERY_REMARK";
	const C_STATUS                 		= "GOODS_DELIVERY_STATUS";
}

class GoodsDeliveryTableDetail extends TableDetail {
	
	const C_ID                          = "identity|||";
	const C_GRN_ID                 		= "int||NO|(0)";
	const C_CODE              			= "nvarchar|50|NO|''";
	const C_USER_ID                 	= "int||NO|(0)";
	const C_USER_LOC_ID                 = "int||NO|(0)";
	const C_DATE                 		= "datetime||NO|getdate()";
	const C_REMARK                 		= "nvarchar|255|NO|''";
	const C_STATUS                 		= "int||NO|(0)";
}
?>