<?php
class QuotationDetailTable extends Table {
	
	const C_TABLE                       = "QUOTATION_DETAIL" ;
	const C_ID                          = "QUOTATION_DETAIL_ID";
	const C_QUOTATION_ID                = "QUOTATION_ID";
	const C_DESC                 		= "QUOTATION_DETAIL_DESC";
	const C_COMMENT                 	= "QUOTATION_DETAIL_COMMENT";
	const C_PRICE                 		= "QUOTATION_DETAIL_PRICE";
	const C_QTY                 		= "QUOTATION_DETAIL_QTY";
	const C_SUBTOTAL                 	= "QUOTATION_DETAIL_SUBTOTAL";
}

class QuotationDetailTableDetail extends TableDetail {
	
	const C_ID                          = "identity|||";
	const C_QUOTATION_ID                = "int||NO|(0)";
	const C_DESC                 		= "nvarchar|255|NO|''";
	const C_COMMENT                 	= "text||NO|''";
	const C_PRICE                 		= "decimal|18,4|NO|(0)";
	const C_QTY                 		= "int||NO|(0)";
	const C_SUBTOTAL                 	= "decimal|18,4|NO|(0)";
}
?>