Built motion from commit f651e4b0a7312c0adceb5e57d6684a801a3aaf0d. Version 3.0.0...
[motion-next.git] / server / api / userProfile / userProfile.attributes.js
1 const a666_0x8b1c=['split','crudPermissions','exports','STRING','getDataValue','sequelize','name','join'];(function(_0x4ee749,_0x8b1c6a){const _0x54de6e=function(_0x1f9be3){while(--_0x1f9be3){_0x4ee749['push'](_0x4ee749['shift']());}};_0x54de6e(++_0x8b1c6a);}(a666_0x8b1c,0x188));const a666_0x54de=function(_0x4ee749,_0x8b1c6a){_0x4ee749=_0x4ee749-0x0;let _0x54de6e=a666_0x8b1c[_0x4ee749];return _0x54de6e;};const _0x2d5e2d=a666_0x54de;'use strict';const Sequelize=require(_0x2d5e2d('0x5'));module[_0x2d5e2d('0x2')]={'name':{'type':Sequelize[_0x2d5e2d('0x3')],'allowNull':![],'unique':_0x2d5e2d('0x6')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1f9be3){const _0x3d9712=_0x2d5e2d;this['setDataValue'](_0x3d9712('0x1'),_0x1f9be3?_0x1f9be3[_0x3d9712('0x7')](''):[]);},'get':function(){const _0x279750=_0x2d5e2d;return this['getDataValue']('crudPermissions')?this[_0x279750('0x4')](_0x279750('0x1'))[_0x279750('0x0')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x2d5e2d('0x3')],'allowNull':!![]}};