889ae6f0954846de7a985fb80bbeff718a498e48
[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 _0x2b50=['STRING','DECIMAL','INTEGER','TEXT','long','BOOLEAN','sequelize'];(function(_0x13451d,_0x3d0713){var _0x46f9ed=function(_0x4b21e8){while(--_0x4b21e8){_0x13451d['push'](_0x13451d['shift']());}};_0x46f9ed(++_0x3d0713);}(_0x2b50,0x68));var _0x02b5=function(_0x1b795b,_0x4d1929){_0x1b795b=_0x1b795b-0x0;var _0x4f6ef1=_0x2b50[_0x1b795b];return _0x4f6ef1;};'use strict';var Sequelize=require(_0x02b5('0x0'));module['exports']={'name':{'type':Sequelize[_0x02b5('0x1')],'allowNull':![],'unique':'name'},'productcode':{'type':Sequelize['STRING'],'allowNull':![],'unique':'productcode'},'netprice':{'type':Sequelize[_0x02b5('0x2')](0xd,0x4),'allowNull':![]},'tax':{'type':Sequelize[_0x02b5('0x3')],'allowNull':![]},'description':{'type':Sequelize[_0x02b5('0x4')](_0x02b5('0x5'))+'\x20CHARSET\x20utf8mb4\x20COLLATE\x20utf8mb4_unicode_ci'},'qtymin':{'type':Sequelize[_0x02b5('0x2')](0xd,0x4),'allowNull':!![]},'phaseout':{'type':Sequelize[_0x02b5('0x6')],'defaultValue':0x0,'allowNull':![]}};