<?php
class ExportCustomerHistoryTable extends Table
{
	const C_TABLE                       = "EXPORT_CUSTOMER_HISTORY";
	const C_ID                          = "EXPORT_CUSTOMER_HISTORY_ID";
	const C_PK                 			= "EXPORT_CUSTOMER_HISTORY_ID";
	const C_USER_ID                     = "EXPORT_CUSTOMER_HISTORY_USER_ID";
	const C_DATE 	                    = "EXPORT_CUSTOMER_HISTORY_DATE";
	const C_STATUS 	                    = "EXPORT_CUSTOMER_HISTORY_STATUS";
	const C_DESTINATION          		= "EXPORT_CUSTOMER_HISTORY_DESTINATION";
	const C_LOG 	            		= "EXPORT_CUSTOMER_HISTORY_LOG";
}

class ExportCustomerHistoryTableDetail extends TableDetail
{
	const C_ID                          = "identity||NO|";
	const C_USER_ID                   	= "int||NO|(0)";
	const C_DATE                      	= "datetime||NO|getdate()";
	const C_STATUS                    	= "int||NO|(0)";
	const C_DESTINATION	          		= "int||NO|(0)";
	const C_LOG	       					= "ntext||NO|''";
}

class ExportCustomerHistoryTableDescription extends TableDescription
{
    const C_ID       		= "History ID";
    const C_USER_ID         = "User ID";
    const C_DATE          	= "Date";
    const C_STATUS          = "Status";
    const C_DESTINATION     = "Destination";
    const C_LOG            	= "Log";
}
