Built motion from commit (unavailable).|2.5.18
[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 _0xac65=['INTEGER','BOOLEAN','setDataValue','crudPermissions','getDataValue','split','sequelize','exports','STRING'];(function(_0xa75db,_0x97eeb8){var _0x988497=function(_0x32d0bf){while(--_0x32d0bf){_0xa75db['push'](_0xa75db['shift']());}};_0x988497(++_0x97eeb8);}(_0xac65,0x11d));var _0x5ac6=function(_0xb79b5,_0x346967){_0xb79b5=_0xb79b5-0x0;var _0x4e3a03=_0xac65[_0xb79b5];return _0x4e3a03;};'use strict';var Sequelize=require(_0x5ac6('0x0'));module[_0x5ac6('0x1')]={'name':{'type':Sequelize[_0x5ac6('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x5ac6('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x5ac6('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x5ac6('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x16800d){this[_0x5ac6('0x5')](_0x5ac6('0x6'),_0x16800d?_0x16800d['join'](''):[]);},'get':function(){return this[_0x5ac6('0x7')](_0x5ac6('0x6'))?this[_0x5ac6('0x7')](_0x5ac6('0x6'))[_0x5ac6('0x8')](''):[];}}};