Built motion from commit ffdca78c.|2.6.24
[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 _0x7334=['split','sequelize','exports','STRING','BOOLEAN','setDataValue','crudPermissions','join','getDataValue'];(function(_0x2c6810,_0x23c079){var _0x213881=function(_0x528021){while(--_0x528021){_0x2c6810['push'](_0x2c6810['shift']());}};_0x213881(++_0x23c079);}(_0x7334,0x184));var _0x4733=function(_0x449c0d,_0x209063){_0x449c0d=_0x449c0d-0x0;var _0x370764=_0x7334[_0x449c0d];return _0x370764;};'use strict';var Sequelize=require(_0x4733('0x0'));module[_0x4733('0x1')]={'name':{'type':Sequelize[_0x4733('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x4733('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x4733('0x2')],'set':function(_0x218143){this[_0x4733('0x4')](_0x4733('0x5'),_0x218143?_0x218143[_0x4733('0x6')](''):[]);},'get':function(){return this[_0x4733('0x7')](_0x4733('0x5'))?this[_0x4733('0x7')](_0x4733('0x5'))[_0x4733('0x8')](''):[];}}};