5f1a44ffcf4efa8661cb415a5e85607527d4fba7
[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 _0x032e=['crudPermissions','join','getDataValue','split','sequelize','STRING','BOOLEAN','setDataValue'];(function(_0x474c66,_0xbce925){var _0xcbd9bf=function(_0x44019d){while(--_0x44019d){_0x474c66['push'](_0x474c66['shift']());}};_0xcbd9bf(++_0xbce925);}(_0x032e,0x124));var _0xe032=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0x032e[_0x4154a6];return _0x3b2786;};'use strict';var Sequelize=require(_0xe032('0x0'));module['exports']={'name':{'type':Sequelize[_0xe032('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0xe032('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xe032('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xe032('0x1')],'set':function(_0x2f44f6){this[_0xe032('0x3')](_0xe032('0x4'),_0x2f44f6?_0x2f44f6[_0xe032('0x5')](''):[]);},'get':function(){return this[_0xe032('0x6')](_0xe032('0x4'))?this[_0xe032('0x6')](_0xe032('0x4'))[_0xe032('0x7')](''):[];}}};