Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / saProductQuotation / saProductQuotation.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc8cd=['STRING','INTEGER','long','\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci','DECIMAL','compositeIndex_prodCode_QuotationID','BOOLEAN','DATE','sequelize','TEXT'];(function(_0x36afb8,_0x50218d){var _0xc389e7=function(_0xa5a775){while(--_0xa5a775){_0x36afb8['push'](_0x36afb8['shift']());}};_0xc389e7(++_0x50218d);}(_0xc8cd,0x148));var _0xdc8c=function(_0x45e4cd,_0x45c9ed){_0x45e4cd=_0x45e4cd-0x0;var _0x19d9bc=_0xc8cd[_0x45e4cd];return _0x19d9bc;};'use strict';var Sequelize=require(_0xdc8c('0x0'));module['exports']={'productName':{'type':Sequelize[_0xdc8c('0x1')],'allowNull':![]},'productCode':{'type':Sequelize[_0xdc8c('0x2')],'allowNull':![],'unique':'compositeIndex_prodCode_QuotationID'},'productNetPrice':{'type':Sequelize['DECIMAL'](0xd,0x4)},'productTax':{'type':Sequelize[_0xdc8c('0x3')]},'productDescription':{'type':Sequelize[_0xdc8c('0x1')](_0xdc8c('0x4'))+_0xdc8c('0x5')},'productQtyMin':{'type':Sequelize[_0xdc8c('0x3')],'allowNull':!![]},'pricelistName':{'type':Sequelize[_0xdc8c('0x1')]},'pricelistDiscount':{'type':Sequelize[_0xdc8c('0x6')](0x6,0x3),'allowNull':![]},'productPricelistDiscount':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4),'allowNull':![]},'productPricelistNetPrice':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4)},'netPrice':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'quantity':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4),'allowNull':![]},'discount':{'type':Sequelize[_0xdc8c('0x6')](0x6,0x3),'allowNull':![]},'totalPrice':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'tax':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'totalDiscount':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4),'allowNull':![]},'totalTax':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4),'allowNull':![]},'agentFullname':{'type':Sequelize[_0xdc8c('0x2')]},'note':{'type':Sequelize[_0xdc8c('0x1')]},'QuotationId':{'type':Sequelize[_0xdc8c('0x3')],'unique':_0xdc8c('0x7')},'totalPrice':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4)},'totalTax':{'type':Sequelize[_0xdc8c('0x6')](0xd,0x4)},'typeName':{'type':Sequelize[_0xdc8c('0x2')]},'TypeId':{'type':Sequelize[_0xdc8c('0x3')]},'unitName':{'type':Sequelize[_0xdc8c('0x2')]},'UnitId':{'type':Sequelize['INTEGER']},'subscriptionName':{'type':Sequelize[_0xdc8c('0x2')]},'subscriptionId':{'type':Sequelize[_0xdc8c('0x3')]},'subscriptionMonthly':{'type':Sequelize[_0xdc8c('0x3')]},'companyName':{'type':Sequelize[_0xdc8c('0x2')]},'companyId':{'type':Sequelize[_0xdc8c('0x3')]},'productAsset':{'type':Sequelize[_0xdc8c('0x8')]},'deletedAt':{'type':Sequelize[_0xdc8c('0x9')],'unique':_0xdc8c('0x7')}};