6814f5c6ac3b0f01e8f9b994b278135cb6b3e69a
[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 _0xf3d0=['STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','sequelize'];(function(_0x33b620,_0xf4ce6f){var _0x596d0d=function(_0x1b716d){while(--_0x1b716d){_0x33b620['push'](_0x33b620['shift']());}};_0x596d0d(++_0xf4ce6f);}(_0xf3d0,0x1bf));var _0x0f3d=function(_0x2a4547,_0x194bc9){_0x2a4547=_0x2a4547-0x0;var _0x1ae95c=_0xf3d0[_0x2a4547];return _0x1ae95c;};'use strict';var Sequelize=require(_0x0f3d('0x0'));module['exports']={'name':{'type':Sequelize[_0x0f3d('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0x0f3d('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x0f3d('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x0f3d('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x0f3d('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x0f3d('0x1')],'set':function(_0x1b160f){this[_0x0f3d('0x4')](_0x0f3d('0x5'),_0x1b160f?_0x1b160f[_0x0f3d('0x6')](''):[]);},'get':function(){return this[_0x0f3d('0x7')](_0x0f3d('0x5'))?this['getDataValue'](_0x0f3d('0x5'))['split'](''):[];}}};