Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
index 248f352..434cde0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x938a=['getDataValue','sequelize','exports','STRING','BOOLEAN','crudPermissions','join'];(function(_0x286d32,_0x2b1a60){var _0x2549f1=function(_0x1258d3){while(--_0x1258d3){_0x286d32['push'](_0x286d32['shift']());}};_0x2549f1(++_0x2b1a60);}(_0x938a,0x1f2));var _0xa938=function(_0x28636a,_0x50445e){_0x28636a=_0x28636a-0x0;var _0x362fd2=_0x938a[_0x28636a];return _0x362fd2;};'use strict';var Sequelize=require(_0xa938('0x0'));module[_0xa938('0x1')]={'name':{'type':Sequelize[_0xa938('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xa938('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xa938('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xa938('0x2')],'set':function(_0x42c636){this['setDataValue'](_0xa938('0x4'),_0x42c636?_0x42c636[_0xa938('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0xa938('0x4'))?this[_0xa938('0x6')]('crudPermissions')['split'](''):[];}}};
\ No newline at end of file
+var _0x5b12=['split','sequelize','exports','STRING','INTEGER','BOOLEAN','setDataValue','getDataValue','crudPermissions'];(function(_0x226d30,_0x492f31){var _0x22c105=function(_0x2aa414){while(--_0x2aa414){_0x226d30['push'](_0x226d30['shift']());}};_0x22c105(++_0x492f31);}(_0x5b12,0xa3));var _0x25b1=function(_0x3a9f7c,_0x1caeff){_0x3a9f7c=_0x3a9f7c-0x0;var _0x4e5bee=_0x5b12[_0x3a9f7c];return _0x4e5bee;};'use strict';var Sequelize=require(_0x25b1('0x0'));module[_0x25b1('0x1')]={'name':{'type':Sequelize[_0x25b1('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x25b1('0x3')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x25b1('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x25b1('0x2')],'set':function(_0x47995b){this[_0x25b1('0x5')]('crudPermissions',_0x47995b?_0x47995b['join'](''):[]);},'get':function(){return this[_0x25b1('0x6')]('crudPermissions')?this['getDataValue'](_0x25b1('0x7'))[_0x25b1('0x8')](''):[];}}};
\ No newline at end of file