Built motion from commit (unavailable).|2.5.7
[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 _0xcea2=['getDataValue','split','sequelize','STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions'];(function(_0x1dbe31,_0x54c4ca){var _0x3ec4b1=function(_0x5c2aeb){while(--_0x5c2aeb){_0x1dbe31['push'](_0x1dbe31['shift']());}};_0x3ec4b1(++_0x54c4ca);}(_0xcea2,0x15a));var _0x2cea=function(_0x4b7895,_0x3c4f5d){_0x4b7895=_0x4b7895-0x0;var _0x264180=_0xcea2[_0x4b7895];return _0x264180;};'use strict';var Sequelize=require(_0x2cea('0x0'));module['exports']={'name':{'type':Sequelize[_0x2cea('0x1')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x2cea('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x2cea('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x2cea('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x3ff73f){this[_0x2cea('0x4')](_0x2cea('0x5'),_0x3ff73f?_0x3ff73f['join'](''):[]);},'get':function(){return this[_0x2cea('0x6')]('crudPermissions')?this[_0x2cea('0x6')](_0x2cea('0x5'))[_0x2cea('0x7')](''):[];}}};