90dec113b0af580d36501bd890b41f6f8e04b25a
[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 _0x4b8a=['crudPermissions','join','getDataValue','split','exports','STRING','INTEGER','BOOLEAN','setDataValue'];(function(_0x57f446,_0x35aa55){var _0x147b34=function(_0x29895d){while(--_0x29895d){_0x57f446['push'](_0x57f446['shift']());}};_0x147b34(++_0x35aa55);}(_0x4b8a,0xd3));var _0xa4b8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4b8a[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module[_0xa4b8('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0xa4b8('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xa4b8('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0xa4b8('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xa4b8('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xa4b8('0x1')],'set':function(_0x3a22d1){this[_0xa4b8('0x4')](_0xa4b8('0x5'),_0x3a22d1?_0x3a22d1[_0xa4b8('0x6')](''):[]);},'get':function(){return this[_0xa4b8('0x7')](_0xa4b8('0x5'))?this[_0xa4b8('0x7')](_0xa4b8('0x5'))[_0xa4b8('0x8')](''):[];}}};