db2b142c2436bdb55f1656549b694d651b0ef1d7
[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 _0x6921=['join','getDataValue','split','exports','STRING','BOOLEAN','crudPermissions'];(function(_0x2b7f77,_0x20ca11){var _0x433e8b=function(_0x559425){while(--_0x559425){_0x2b7f77['push'](_0x2b7f77['shift']());}};_0x433e8b(++_0x20ca11);}(_0x6921,0x1d1));var _0x1692=function(_0x35e3de,_0x2a7fc6){_0x35e3de=_0x35e3de-0x0;var _0x2eb981=_0x6921[_0x35e3de];return _0x2eb981;};'use strict';var Sequelize=require('sequelize');module[_0x1692('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x1692('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x1692('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x1692('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x3995b3){this['setDataValue'](_0x1692('0x3'),_0x3995b3?_0x3995b3[_0x1692('0x4')](''):[]);},'get':function(){return this[_0x1692('0x5')](_0x1692('0x3'))?this[_0x1692('0x5')](_0x1692('0x3'))[_0x1692('0x6')](''):[];}}};