Built motion from commit (unavailable).|2.5.6
[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 _0xbf04=['BOOLEAN','setDataValue','crudPermissions','getDataValue','sequelize','exports','STRING'];(function(_0xc3c2b9,_0x3e6f63){var _0x26d95b=function(_0x2c34aa){while(--_0x2c34aa){_0xc3c2b9['push'](_0xc3c2b9['shift']());}};_0x26d95b(++_0x3e6f63);}(_0xbf04,0xc1));var _0x4bf0=function(_0x3f8d95,_0xf30c58){_0x3f8d95=_0x3f8d95-0x0;var _0x50d325=_0xbf04[_0x3f8d95];return _0x50d325;};'use strict';var Sequelize=require(_0x4bf0('0x0'));module[_0x4bf0('0x1')]={'name':{'type':Sequelize[_0x4bf0('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x4bf0('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x4bf0('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x4bf0('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x583239){this[_0x4bf0('0x4')](_0x4bf0('0x5'),_0x583239?_0x583239['join'](''):[]);},'get':function(){return this[_0x4bf0('0x6')](_0x4bf0('0x5'))?this[_0x4bf0('0x6')](_0x4bf0('0x5'))['split'](''):[];}}};