e49a9d6eaada39bab32ed6bc18892b25ca928be1
[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 _0x50b9=['sequelize','STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0x311c35,_0x534915){var _0x5cc50c=function(_0x3ad680){while(--_0x3ad680){_0x311c35['push'](_0x311c35['shift']());}};_0x5cc50c(++_0x534915);}(_0x50b9,0x171));var _0x950b=function(_0x6f114,_0x2ac0f9){_0x6f114=_0x6f114-0x0;var _0x40546b=_0x50b9[_0x6f114];return _0x40546b;};'use strict';var Sequelize=require(_0x950b('0x0'));module['exports']={'name':{'type':Sequelize[_0x950b('0x1')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x950b('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x950b('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x950b('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x950b('0x1')],'set':function(_0x237b83){this[_0x950b('0x4')](_0x950b('0x5'),_0x237b83?_0x237b83[_0x950b('0x6')](''):[]);},'get':function(){return this[_0x950b('0x7')]('crudPermissions')?this[_0x950b('0x7')](_0x950b('0x5'))[_0x950b('0x8')](''):[];}}};