Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
index d325437..434cde0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3098=['exports','STRING','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize'];(function(_0x1d5a0e,_0x340fef){var _0x144867=function(_0x33e3ee){while(--_0x33e3ee){_0x1d5a0e['push'](_0x1d5a0e['shift']());}};_0x144867(++_0x340fef);}(_0x3098,0x86));var _0x8309=function(_0x2576d7,_0x167624){_0x2576d7=_0x2576d7-0x0;var _0x16a08c=_0x3098[_0x2576d7];return _0x16a08c;};'use strict';var Sequelize=require(_0x8309('0x0'));module[_0x8309('0x1')]={'name':{'type':Sequelize[_0x8309('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x8309('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x8309('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x8309('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x8309('0x2')],'set':function(_0x2e58f5){this[_0x8309('0x4')](_0x8309('0x5'),_0x2e58f5?_0x2e58f5[_0x8309('0x6')](''):[]);},'get':function(){return this[_0x8309('0x7')](_0x8309('0x5'))?this[_0x8309('0x7')]('crudPermissions')[_0x8309('0x8')](''):[];}}};
\ 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