Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
index 110d9a6..36ae994 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0776=['BOOLEAN','setDataValue','crudPermissions','join','split','sequelize','STRING','INTEGER'];(function(_0x4394b6,_0x12357f){var _0x360244=function(_0x5689a1){while(--_0x5689a1){_0x4394b6['push'](_0x4394b6['shift']());}};_0x360244(++_0x12357f);}(_0x0776,0xad));var _0x6077=function(_0x5ccdac,_0x5ba9b1){_0x5ccdac=_0x5ccdac-0x0;var _0x38961c=_0x0776[_0x5ccdac];return _0x38961c;};'use strict';var Sequelize=require(_0x6077('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x6077('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x6077('0x2')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x6077('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x6077('0x1')],'set':function(_0x360b30){this[_0x6077('0x4')](_0x6077('0x5'),_0x360b30?_0x360b30[_0x6077('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this['getDataValue']('crudPermissions')[_0x6077('0x7')](''):[];}}};
\ No newline at end of file
+var _0xac4a=['setDataValue','crudPermissions','getDataValue','split','sequelize','exports','STRING','INTEGER','BOOLEAN'];(function(_0x239239,_0x1a3c17){var _0x1295ba=function(_0x30cd3f){while(--_0x30cd3f){_0x239239['push'](_0x239239['shift']());}};_0x1295ba(++_0x1a3c17);}(_0xac4a,0x13f));var _0xaac4=function(_0x1afb16,_0x154028){_0x1afb16=_0x1afb16-0x0;var _0xab6c55=_0xac4a[_0x1afb16];return _0xab6c55;};'use strict';var Sequelize=require(_0xaac4('0x0'));module[_0xaac4('0x1')]={'name':{'type':Sequelize[_0xaac4('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xaac4('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xaac4('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0xaac4('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x2af0f6){this[_0xaac4('0x5')](_0xaac4('0x6'),_0x2af0f6?_0x2af0f6['join'](''):[]);},'get':function(){return this[_0xaac4('0x7')]('crudPermissions')?this[_0xaac4('0x7')]('crudPermissions')[_0xaac4('0x8')](''):[];}}};
\ No newline at end of file