Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / saProductOrder / saProductOrder.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 _0x7b40=['DECIMAL','INTEGER','long','\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci','TEXT','BOOLEAN','exports','STRING','compositeIndex_prodCode_OrderID'];(function(_0x265003,_0xf0f023){var _0x33c743=function(_0x326a5d){while(--_0x326a5d){_0x265003['push'](_0x265003['shift']());}};_0x33c743(++_0xf0f023);}(_0x7b40,0x1c8));var _0x07b4=function(_0x4a7a3c,_0x15604e){_0x4a7a3c=_0x4a7a3c-0x0;var _0x94e7de=_0x7b40[_0x4a7a3c];return _0x94e7de;};'use strict';var Sequelize=require('sequelize');module[_0x07b4('0x0')]={'productName':{'type':Sequelize['TEXT'],'allowNull':![]},'productCode':{'type':Sequelize[_0x07b4('0x1')],'allowNull':![],'unique':_0x07b4('0x2')},'productNetPrice':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4)},'productTax':{'type':Sequelize[_0x07b4('0x4')]},'productDescription':{'type':Sequelize['TEXT'](_0x07b4('0x5'))+_0x07b4('0x6')},'productQtyMin':{'type':Sequelize['INTEGER'],'allowNull':!![]},'pricelistName':{'type':Sequelize[_0x07b4('0x7')]},'pricelistDiscount':{'type':Sequelize[_0x07b4('0x3')](0x6,0x3),'allowNull':![]},'productPricelistDiscount':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4),'allowNull':![]},'productPricelistNetPrice':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4)},'netPrice':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4),'allowNull':![]},'quantity':{'type':Sequelize['INTEGER'],'allowNull':![]},'discount':{'type':Sequelize[_0x07b4('0x3')](0x6,0x3),'allowNull':![]},'totalPrice':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4),'allowNull':![]},'tax':{'type':Sequelize['DECIMAL'](0xd,0x4),'allowNull':![]},'totalDiscount':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4),'allowNull':![]},'totalTax':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4),'allowNull':![]},'agentFullname':{'type':Sequelize[_0x07b4('0x1')]},'note':{'type':Sequelize['TEXT']},'QuotationId':{'type':Sequelize[_0x07b4('0x4')]},'OrderId':{'type':Sequelize[_0x07b4('0x4')],'unique':_0x07b4('0x2')},'totalPrice':{'type':Sequelize[_0x07b4('0x3')](0xd,0x4)},'totalTax':{'type':Sequelize['DECIMAL'](0xd,0x4)},'typeName':{'type':Sequelize[_0x07b4('0x1')]},'TypeId':{'type':Sequelize[_0x07b4('0x4')]},'unitName':{'type':Sequelize['STRING']},'UnitId':{'type':Sequelize['INTEGER']},'attendanceName':{'type':Sequelize[_0x07b4('0x1')]},'attendanceId':{'type':Sequelize[_0x07b4('0x4')]},'attendanceMonthly':{'type':Sequelize['INTEGER']},'companyName':{'type':Sequelize[_0x07b4('0x1')]},'companyId':{'type':Sequelize[_0x07b4('0x4')]},'productAsset':{'type':Sequelize[_0x07b4('0x8')]}};