<?php
class SalesTargetTable extends Table {
	
	const C_TABLE                       = "SALES_TARGET" ;
	const C_PK                          = "SALES_TARGET_ID";
	const C_ID                          = "SALES_TARGET_ID";
	const C_BU                    	 	= "SALES_TARGET_BU";
	const C_YEAR                    	= "SALES_TARGET_YEAR";
	const C_TOTAL                    	= "SALES_TARGET_TOTAL";
	const C_MONTH_1                    	= "SALES_TARGET_MONTH_1";
	const C_MONTH_2                    	= "SALES_TARGET_MONTH_2";
	const C_MONTH_3                    	= "SALES_TARGET_MONTH_3";
	const C_MONTH_4                    	= "SALES_TARGET_MONTH_4";
	const C_MONTH_5                    	= "SALES_TARGET_MONTH_5";
	const C_MONTH_6                    	= "SALES_TARGET_MONTH_6";
	const C_MONTH_7                    	= "SALES_TARGET_MONTH_7";
	const C_MONTH_8                    	= "SALES_TARGET_MONTH_8";
	const C_MONTH_9                    	= "SALES_TARGET_MONTH_9";
	const C_MONTH_10                    = "SALES_TARGET_MONTH_10";
	const C_MONTH_11                    = "SALES_TARGET_MONTH_11";
	const C_MONTH_12                    = "SALES_TARGET_MONTH_12";

}

class SalesTargetTableDetail extends TableDetail {
	
	const C_ID                          = "identity|||";
	const C_BU                 			= "int||NO|(0)";
	const C_YEAR                 		= "int||NO|(0)";
	const C_TOTAL           			= "decimal|18,4|NO|(0)";
	const C_MONTH_1           			= "decimal|18,4|NO|(0)";
	const C_MONTH_2           			= "decimal|18,4|NO|(0)";
	const C_MONTH_3           			= "decimal|18,4|NO|(0)";
	const C_MONTH_4           			= "decimal|18,4|NO|(0)";
	const C_MONTH_5           			= "decimal|18,4|NO|(0)";
	const C_MONTH_6           			= "decimal|18,4|NO|(0)";
	const C_MONTH_7           			= "decimal|18,4|NO|(0)";
	const C_MONTH_8           			= "decimal|18,4|NO|(0)";
	const C_MONTH_9           			= "decimal|18,4|NO|(0)";
	const C_MONTH_10           			= "decimal|18,4|NO|(0)";
	const C_MONTH_11           			= "decimal|18,4|NO|(0)";
	const C_MONTH_12           			= "decimal|18,4|NO|(0)";
}
?>