Built motion from commit (unavailable).|2.5.13
[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 _0x34e7=['BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports','STRING','INTEGER'];(function(_0x20668b,_0x375fc9){var _0x32f5b8=function(_0x285dda){while(--_0x285dda){_0x20668b['push'](_0x20668b['shift']());}};_0x32f5b8(++_0x375fc9);}(_0x34e7,0x164));var _0x734e=function(_0x39b007,_0x45f4a8){_0x39b007=_0x39b007-0x0;var _0x26f00d=_0x34e7[_0x39b007];return _0x26f00d;};'use strict';var Sequelize=require(_0x734e('0x0'));module[_0x734e('0x1')]={'name':{'type':Sequelize[_0x734e('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x734e('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x734e('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x734e('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x734e('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x734e('0x2')],'set':function(_0x23d0df){this[_0x734e('0x5')](_0x734e('0x6'),_0x23d0df?_0x23d0df[_0x734e('0x7')](''):[]);},'get':function(){return this[_0x734e('0x8')](_0x734e('0x6'))?this['getDataValue'](_0x734e('0x6'))[_0x734e('0x9')](''):[];}}};