115e2886e0f25aa7baacb0c3b130a30b701ac3cf
[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 _0x5952=['exports','name','STRING','setDataValue','join','getDataValue','crudPermissions','split','sequelize'];(function(_0x2edb9f,_0x36fad0){var _0x4e5979=function(_0x425f9f){while(--_0x425f9f){_0x2edb9f['push'](_0x2edb9f['shift']());}};_0x4e5979(++_0x36fad0);}(_0x5952,0x10d));var _0x2595=function(_0x4964ad,_0x554a4c){_0x4964ad=_0x4964ad-0x0;var _0x2f898d=_0x5952[_0x4964ad];return _0x2f898d;};'use strict';var Sequelize=require(_0x2595('0x0'));module[_0x2595('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x2595('0x2')},'crudPermissions':{'type':Sequelize[_0x2595('0x3')],'set':function(_0x11d4a4){this[_0x2595('0x4')]('crudPermissions',_0x11d4a4?_0x11d4a4[_0x2595('0x5')](''):[]);},'get':function(){return this[_0x2595('0x6')](_0x2595('0x7'))?this[_0x2595('0x6')](_0x2595('0x7'))[_0x2595('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x2595('0x3')],'allowNull':!![]}};