<?php
class CorporateGiftDeliveryTable extends Table
{
	const C_TABLE                   = "CORPORATE_GIFT_DELIVERY";
	const C_ID                      = "CORPORATE_GIFT_ID";
	const C_DELIVERY_ID             = "CORPORATE_GIFT_DELIVERY_ID";
	const C_PK                 		= "CORPORATE_GIFT_DELIVERY_ID";

	const C_DATE               		= "CORPORATE_GIFT_DELIVERY_DATE";
	const C_TIME1               	= "CORPORATE_GIFT_DELIVERY_TIME1";
	const C_TIME2               	= "CORPORATE_GIFT_DELIVERY_TIME2";
}

class CorporateGiftDeliveryTableDetail extends TableDetail
{
	const C_DELIVERY_ID             = "identity||NO|";
	const C_ID                      = "int||NO|(0)";

	const C_DATE               		= "date||NO|getDate()";
	const C_TIME1               	= "nvarchar|255|NO|''";
	const C_TIME2               	= "nvarchar|255|NO|''";
}

class CorporateGiftDeliveryTableDescription extends TableDescription
{
	const C_ID                      = "ID";
	const C_DELIVERY_ID             = "Delivery ID";

	const C_DATE              		= "Delivery Date";
	const C_TIME1             		= "Delivery Time 1";
	const C_TIME2             		= "Delivery Time 2";
}
