Built motion from commit (unavailable).|2.4.3
[motion2.git] / server / api / saProduct / saProduct.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 _0x6174=['STRING','name','DECIMAL','INTEGER','TEXT','long','BOOLEAN','sequelize'];(function(_0x5e6ddf,_0x245d57){var _0x1a156e=function(_0x5ea6da){while(--_0x5ea6da){_0x5e6ddf['push'](_0x5e6ddf['shift']());}};_0x1a156e(++_0x245d57);}(_0x6174,0xbf));var _0x4617=function(_0x2f5933,_0x73e675){_0x2f5933=_0x2f5933-0x0;var _0x25a66b=_0x6174[_0x2f5933];return _0x25a66b;};'use strict';var Sequelize=require(_0x4617('0x0'));module['exports']={'name':{'type':Sequelize[_0x4617('0x1')],'allowNull':![],'unique':_0x4617('0x2')},'productcode':{'type':Sequelize[_0x4617('0x1')],'allowNull':![],'unique':'productcode'},'netprice':{'type':Sequelize[_0x4617('0x3')](0xd,0x4),'allowNull':![]},'tax':{'type':Sequelize[_0x4617('0x4')],'allowNull':![]},'description':{'type':Sequelize[_0x4617('0x5')](_0x4617('0x6'))+'\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci'},'qtymin':{'type':Sequelize[_0x4617('0x4')],'allowNull':!![]},'phaseout':{'type':Sequelize[_0x4617('0x7')],'defaultValue':0x0,'allowNull':![]}};