c1c7646743306c2c4e204fc2e2f918aeed3f5319
[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 _0x0a9f=['BOOLEAN','setDataValue','crudPermissions','join','split','sequelize','exports','STRING','INTEGER'];(function(_0x39d2ca,_0x2436ef){var _0x55c4ed=function(_0x333a9b){while(--_0x333a9b){_0x39d2ca['push'](_0x39d2ca['shift']());}};_0x55c4ed(++_0x2436ef);}(_0x0a9f,0x1b5));var _0xf0a9=function(_0x117994,_0x46bbbb){_0x117994=_0x117994-0x0;var _0x40814a=_0x0a9f[_0x117994];return _0x40814a;};'use strict';var Sequelize=require(_0xf0a9('0x0'));module[_0xf0a9('0x1')]={'name':{'type':Sequelize[_0xf0a9('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xf0a9('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xf0a9('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0xf0a9('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xf0a9('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xf0a9('0x2')],'set':function(_0x5b9064){this[_0xf0a9('0x5')](_0xf0a9('0x6'),_0x5b9064?_0x5b9064[_0xf0a9('0x7')](''):[]);},'get':function(){return this['getDataValue'](_0xf0a9('0x6'))?this['getDataValue'](_0xf0a9('0x6'))[_0xf0a9('0x8')](''):[];}}};