Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / saProductQuotation / saProductQuotation.attributes.js
index 6a9a26c..335bb32 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb3f6=['STRING','BOOLEAN','DATE','sequelize','exports','TEXT','compositeIndex_prodCode_QuotationID','DECIMAL','\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci','INTEGER'];(function(_0x4d36e8,_0xda6d7d){var _0x3ff7f8=function(_0x3f0385){while(--_0x3f0385){_0x4d36e8['push'](_0x4d36e8['shift']());}};_0x3ff7f8(++_0xda6d7d);}(_0xb3f6,0x17f));var _0x6b3f=function(_0x7f1fb2,_0x11ee4a){_0x7f1fb2=_0x7f1fb2-0x0;var _0x38334e=_0xb3f6[_0x7f1fb2];return _0x38334e;};'use strict';var Sequelize=require(_0x6b3f('0x0'));module[_0x6b3f('0x1')]={'productName':{'type':Sequelize[_0x6b3f('0x2')],'allowNull':![]},'productCode':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x6b3f('0x3')},'productNetPrice':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4)},'productTax':{'type':Sequelize['INTEGER']},'productDescription':{'type':Sequelize['TEXT']('long')+_0x6b3f('0x5')},'productQtyMin':{'type':Sequelize[_0x6b3f('0x6')],'allowNull':!![]},'pricelistName':{'type':Sequelize[_0x6b3f('0x2')]},'pricelistId':{'type':Sequelize[_0x6b3f('0x6')]},'pricelistDiscount':{'type':Sequelize[_0x6b3f('0x4')](0x6,0x3),'allowNull':![]},'productPricelistDiscount':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'productPricelistNetPrice':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4)},'netPrice':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4),'allowNull':![]},'quantity':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'discount':{'type':Sequelize[_0x6b3f('0x4')](0x6,0x3),'allowNull':![]},'totalPrice':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'tax':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4),'allowNull':![]},'totalDiscount':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4),'allowNull':![]},'totalTax':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4),'allowNull':![]},'agentFullname':{'type':Sequelize[_0x6b3f('0x7')]},'note':{'type':Sequelize[_0x6b3f('0x2')]},'QuotationId':{'type':Sequelize[_0x6b3f('0x6')],'unique':'compositeIndex_prodCode_QuotationID'},'totalPrice':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4)},'totalTax':{'type':Sequelize[_0x6b3f('0x4')](0xd,0x4)},'typeName':{'type':Sequelize['STRING']},'TypeId':{'type':Sequelize[_0x6b3f('0x6')]},'unitName':{'type':Sequelize[_0x6b3f('0x7')]},'UnitId':{'type':Sequelize[_0x6b3f('0x6')]},'subscriptionName':{'type':Sequelize[_0x6b3f('0x7')]},'subscriptionId':{'type':Sequelize[_0x6b3f('0x6')]},'subscriptionMonthly':{'type':Sequelize['INTEGER']},'companyName':{'type':Sequelize[_0x6b3f('0x7')]},'companyId':{'type':Sequelize[_0x6b3f('0x6')]},'productAsset':{'type':Sequelize[_0x6b3f('0x8')]},'deletedAt':{'type':Sequelize[_0x6b3f('0x9')],'unique':_0x6b3f('0x3')}};
\ No newline at end of file
+var _0x74ee=['exports','TEXT','compositeIndex_prodCode_QuotationID','DECIMAL','long','\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci','INTEGER','STRING','sequelize'];(function(_0xd0b415,_0x149675){var _0x2bdf2c=function(_0x59fbfa){while(--_0x59fbfa){_0xd0b415['push'](_0xd0b415['shift']());}};_0x2bdf2c(++_0x149675);}(_0x74ee,0x98));var _0xe74e=function(_0x5e149c,_0x309768){_0x5e149c=_0x5e149c-0x0;var _0x54bd20=_0x74ee[_0x5e149c];return _0x54bd20;};'use strict';var Sequelize=require(_0xe74e('0x0'));module[_0xe74e('0x1')]={'productName':{'type':Sequelize[_0xe74e('0x2')],'allowNull':![]},'productCode':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xe74e('0x3')},'productNetPrice':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4)},'productTax':{'type':Sequelize['INTEGER']},'productDescription':{'type':Sequelize[_0xe74e('0x2')](_0xe74e('0x5'))+_0xe74e('0x6')},'productQtyMin':{'type':Sequelize[_0xe74e('0x7')],'allowNull':!![]},'pricelistName':{'type':Sequelize[_0xe74e('0x2')]},'pricelistId':{'type':Sequelize[_0xe74e('0x7')]},'pricelistDiscount':{'type':Sequelize[_0xe74e('0x4')](0x6,0x3),'allowNull':![]},'productPricelistDiscount':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4),'allowNull':![]},'productPricelistNetPrice':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4)},'netPrice':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4),'allowNull':![]},'quantity':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'discount':{'type':Sequelize[_0xe74e('0x4')](0x6,0x3),'allowNull':![]},'totalPrice':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4),'allowNull':![]},'tax':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'totalDiscount':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4),'allowNull':![]},'totalTax':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4),'allowNull':![]},'agentFullname':{'type':Sequelize[_0xe74e('0x8')]},'note':{'type':Sequelize['TEXT']},'QuotationId':{'type':Sequelize[_0xe74e('0x7')],'unique':_0xe74e('0x3')},'totalPrice':{'type':Sequelize['DECIMAL'](0xd,0x4)},'totalTax':{'type':Sequelize[_0xe74e('0x4')](0xd,0x4)},'typeName':{'type':Sequelize[_0xe74e('0x8')]},'TypeId':{'type':Sequelize[_0xe74e('0x7')]},'unitName':{'type':Sequelize['STRING']},'UnitId':{'type':Sequelize[_0xe74e('0x7')]},'subscriptionName':{'type':Sequelize[_0xe74e('0x8')]},'subscriptionId':{'type':Sequelize[_0xe74e('0x7')]},'subscriptionMonthly':{'type':Sequelize[_0xe74e('0x7')]},'companyName':{'type':Sequelize[_0xe74e('0x8')]},'companyId':{'type':Sequelize[_0xe74e('0x7')]},'productAsset':{'type':Sequelize['BOOLEAN']},'deletedAt':{'type':Sequelize['DATE'],'unique':_0xe74e('0x3')}};
\ No newline at end of file