<?php
class CampaignDeliveryTable extends Table
{
	const C_TABLE                   = "CAMPAIGN_DELIVERY";
	const C_ID                      = "CAMPAIGN_ID";
	const C_DELIVERY_ID             = "CAMPAIGN_DELIVERY_ID";
	const C_PK                 		= "CAMPAIGN_DELIVERY_ID";

	const C_DATE               		= "CAMPAIGN_DELIVERY_DATE";
	const C_TIME1               	= "CAMPAIGN_DELIVERY_TIME1";
	const C_TIME2               	= "CAMPAIGN_DELIVERY_TIME2";
}

class CampaignDeliveryTableDetail 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 CampaignDeliveryTableDescription 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";
}
