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 _0x9e04=['STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports'];(function(_0x2ae93f,_0x324a47){var _0x473c44=function(_0xe1b26d){while(--_0xe1b26d){_0x2ae93f['push'](_0x2ae93f['shift']());}};_0x473c44(++_0x324a47);}(_0x9e04,0x9e));var _0x49e0=function(_0x1e2743,_0x939583){_0x1e2743=_0x1e2743-0x0;var _0x5115c9=_0x9e04[_0x1e2743];return _0x5115c9;};'use strict';var Sequelize=require(_0x49e0('0x0'));module[_0x49e0('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x49e0('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x49e0('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x49e0('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x49e0('0x2')],'set':function(_0x394b42){this[_0x49e0('0x5')](_0x49e0('0x6'),_0x394b42?_0x394b42[_0x49e0('0x7')](''):[]);},'get':function(){return this[_0x49e0('0x8')](_0x49e0('0x6'))?this[_0x49e0('0x8')](_0x49e0('0x6'))[_0x49e0('0x9')](''):[];}}};