b8cfed6fd125c974e2a1c4e808f5d25494c2c899
[motion2.git] / server / api / userProfileSection / userProfileSection.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 _0x8b2d=['BOOLEAN','crudPermissions','join','getDataValue','split','STRING','INTEGER'];(function(_0x2acf29,_0x29dc7a){var _0x40fbef=function(_0x51acf0){while(--_0x51acf0){_0x2acf29['push'](_0x2acf29['shift']());}};_0x40fbef(++_0x29dc7a);}(_0x8b2d,0xe5));var _0xd8b2=function(_0x32ff1d,_0x3e29bb){_0x32ff1d=_0x32ff1d-0x0;var _0x50489e=_0x8b2d[_0x32ff1d];return _0x50489e;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xd8b2('0x0')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0xd8b2('0x1')],'allowNull':![]},'enabled':{'type':Sequelize[_0xd8b2('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xd8b2('0x0')],'set':function(_0x3a7304){this['setDataValue'](_0xd8b2('0x3'),_0x3a7304?_0x3a7304[_0xd8b2('0x4')](''):[]);},'get':function(){return this[_0xd8b2('0x5')](_0xd8b2('0x3'))?this[_0xd8b2('0x5')](_0xd8b2('0x3'))[_0xd8b2('0x6')](''):[];}}};