Built motion from commit (unavailable).|2.5.0
[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 _0xe920=['sequelize','exports','STRING','INTEGER','BOOLEAN','setDataValue','join','crudPermissions','getDataValue','split'];(function(_0x320c55,_0x43ce58){var _0x42471b=function(_0x4b1777){while(--_0x4b1777){_0x320c55['push'](_0x320c55['shift']());}};_0x42471b(++_0x43ce58);}(_0xe920,0xbe));var _0x0e92=function(_0x52b7b9,_0x43ed4b){_0x52b7b9=_0x52b7b9-0x0;var _0x5b5d30=_0xe920[_0x52b7b9];return _0x5b5d30;};'use strict';var Sequelize=require(_0x0e92('0x0'));module[_0x0e92('0x1')]={'name':{'type':Sequelize[_0x0e92('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x0e92('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x0e92('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x0e92('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x0e92('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x0e92('0x2')],'set':function(_0xfaa87e){this[_0x0e92('0x5')]('crudPermissions',_0xfaa87e?_0xfaa87e[_0x0e92('0x6')](''):[]);},'get':function(){return this['getDataValue'](_0x0e92('0x7'))?this[_0x0e92('0x8')](_0x0e92('0x7'))[_0x0e92('0x9')](''):[];}}};