a2bd0495048f89ab598fdea4579d582bc3c31122
[motion2.git] / server / api / userProfile / userProfile.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 _0xcc5e=['name','setDataValue','crudPermissions','getDataValue','split','sequelize','STRING'];(function(_0x6dfbaa,_0x31eede){var _0xfbe02=function(_0x4adcaf){while(--_0x4adcaf){_0x6dfbaa['push'](_0x6dfbaa['shift']());}};_0xfbe02(++_0x31eede);}(_0xcc5e,0x12b));var _0xecc5=function(_0xa2c0a3,_0x5bbac0){_0xa2c0a3=_0xa2c0a3-0x0;var _0x52c618=_0xcc5e[_0xa2c0a3];return _0x52c618;};'use strict';var Sequelize=require(_0xecc5('0x0'));module['exports']={'name':{'type':Sequelize[_0xecc5('0x1')],'allowNull':![],'unique':_0xecc5('0x2')},'crudPermissions':{'type':Sequelize[_0xecc5('0x1')],'set':function(_0x7511fa){this[_0xecc5('0x3')](_0xecc5('0x4'),_0x7511fa?_0x7511fa['join'](''):[]);},'get':function(){return this[_0xecc5('0x5')](_0xecc5('0x4'))?this[_0xecc5('0x5')](_0xecc5('0x4'))[_0xecc5('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xecc5('0x1')],'allowNull':!![]}};