ae76f75a638d61d93aca8f6274125ff8bf7a15f6
[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 _0x80ed=['setDataValue','join','getDataValue','crudPermissions','split','sequelize','STRING','INTEGER','BOOLEAN'];(function(_0x429846,_0x3ea6c5){var _0x290e4a=function(_0x41b650){while(--_0x41b650){_0x429846['push'](_0x429846['shift']());}};_0x290e4a(++_0x3ea6c5);}(_0x80ed,0x11c));var _0xd80e=function(_0x569fdf,_0x2e175a){_0x569fdf=_0x569fdf-0x0;var _0x49ba16=_0x80ed[_0x569fdf];return _0x49ba16;};'use strict';var Sequelize=require(_0xd80e('0x0'));module['exports']={'name':{'type':Sequelize[_0xd80e('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0xd80e('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xd80e('0x2')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xd80e('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xd80e('0x1')],'set':function(_0x2b742b){this[_0xd80e('0x4')]('crudPermissions',_0x2b742b?_0x2b742b[_0xd80e('0x5')](''):[]);},'get':function(){return this[_0xd80e('0x6')](_0xd80e('0x7'))?this['getDataValue'](_0xd80e('0x7'))[_0xd80e('0x8')](''):[];}}};