Built motion from commit (unavailable).|2.5.3
[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 _0x867f=['STRING','INTEGER','BOOLEAN','join','getDataValue','crudPermissions','sequelize','exports'];(function(_0x26c530,_0x3a9512){var _0x58bfff=function(_0x4ea4af){while(--_0x4ea4af){_0x26c530['push'](_0x26c530['shift']());}};_0x58bfff(++_0x3a9512);}(_0x867f,0xe6));var _0xf867=function(_0x1d2e88,_0x410d1d){_0x1d2e88=_0x1d2e88-0x0;var _0x42794b=_0x867f[_0x1d2e88];return _0x42794b;};'use strict';var Sequelize=require(_0xf867('0x0'));module[_0xf867('0x1')]={'name':{'type':Sequelize[_0xf867('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xf867('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xf867('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0xf867('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xf867('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xf867('0x2')],'set':function(_0x333d91){this['setDataValue']('crudPermissions',_0x333d91?_0x333d91[_0xf867('0x5')](''):[]);},'get':function(){return this[_0xf867('0x6')](_0xf867('0x7'))?this[_0xf867('0x6')](_0xf867('0x7'))['split'](''):[];}}};