173549c4550700f86c9922680243eb5c93f811ff
[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 _0x66fa=['sequelize','exports','STRING','BOOLEAN','setDataValue','crudPermissions','join','getDataValue'];(function(_0x215f3f,_0x43b5e7){var _0x51e42c=function(_0x229cbc){while(--_0x229cbc){_0x215f3f['push'](_0x215f3f['shift']());}};_0x51e42c(++_0x43b5e7);}(_0x66fa,0x168));var _0xa66f=function(_0x6bd88e,_0xac49fa){_0x6bd88e=_0x6bd88e-0x0;var _0x35bc54=_0x66fa[_0x6bd88e];return _0x35bc54;};'use strict';var Sequelize=require(_0xa66f('0x0'));module[_0xa66f('0x1')]={'name':{'type':Sequelize[_0xa66f('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0xa66f('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xa66f('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xa66f('0x2')],'set':function(_0x2e663b){this[_0xa66f('0x4')](_0xa66f('0x5'),_0x2e663b?_0x2e663b[_0xa66f('0x6')](''):[]);},'get':function(){return this[_0xa66f('0x7')](_0xa66f('0x5'))?this[_0xa66f('0x7')](_0xa66f('0x5'))['split'](''):[];}}};