Built motion from commit (unavailable).|2.3.0
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 3263038..91bba19 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x496a=['values','isArray','stringify','BOOLEAN','sequelize','lodash','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue','name','TEXT','long','type','select','parse'];(function(_0x2078ca,_0x5cea76){var _0x2e5db6=function(_0x1ccde0){while(--_0x1ccde0){_0x2078ca['push'](_0x2078ca['shift']());}};_0x2e5db6(++_0x5cea76);}(_0x496a,0x1d8));var _0xa496=function(_0x5013f5,_0x3936e0){_0x5013f5=_0x5013f5-0x0;var _0x201c40=_0x496a[_0x5013f5];return _0x201c40;};'use strict';var Sequelize=require(_0xa496('0x0'));var _=require(_0xa496('0x1'));module[_0xa496('0x2')]={'name':{'type':Sequelize[_0xa496('0x3')],'get':function(_0xde67a9){return this[_0xa496('0x4')](_0xa496('0x5'));}},'alias':{'type':Sequelize[_0xa496('0x6')],'allowNull':![],'set':function(_0x4058cf){this[_0xa496('0x7')](_0xa496('0x5'),_0x4058cf?_0x4058cf:this[_0xa496('0x4')](_0xa496('0x8')));}},'type':{'type':Sequelize[_0xa496('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0xa496('0x9')](_0xa496('0xa')),'get':function(){if(this['getDataValue'](_0xa496('0xb'))===_0xa496('0xc')){return JSON[_0xa496('0xd')](this[_0xa496('0x4')](_0xa496('0xe')));}else{return this[_0xa496('0x4')](_0xa496('0xe'));}},'set':function(_0x1d1cdc){if(Array[_0xa496('0xf')](_0x1d1cdc)){this[_0xa496('0x7')](_0xa496('0xe'),JSON[_0xa496('0x10')](_0x1d1cdc));}else{this['setDataValue'](_0xa496('0xe'),_0x1d1cdc);}}},'required':{'type':Sequelize[_0xa496('0x11')],'defaultValue':![]}};
\ No newline at end of file
+var _0xd4b1=['values','isArray','BOOLEAN','sequelize','lodash','exports','STRING','setDataValue','alias','getDataValue','TEXT','long','type','select','parse'];(function(_0x2989a7,_0x5ce53a){var _0x3cd7a7=function(_0x175f8e){while(--_0x175f8e){_0x2989a7['push'](_0x2989a7['shift']());}};_0x3cd7a7(++_0x5ce53a);}(_0xd4b1,0xc6));var _0x1d4b=function(_0x45d54f,_0x4e565a){_0x45d54f=_0x45d54f-0x0;var _0x10e751=_0xd4b1[_0x45d54f];return _0x10e751;};'use strict';var Sequelize=require(_0x1d4b('0x0'));var _=require(_0x1d4b('0x1'));module[_0x1d4b('0x2')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x378e34){return this['getDataValue']('alias');}},'alias':{'type':Sequelize[_0x1d4b('0x3')],'allowNull':![],'set':function(_0x310694){this[_0x1d4b('0x4')](_0x1d4b('0x5'),_0x310694?_0x310694:this[_0x1d4b('0x6')]('name'));}},'type':{'type':Sequelize[_0x1d4b('0x3')],'allowNull':![]},'values':{'type':Sequelize[_0x1d4b('0x7')](_0x1d4b('0x8')),'get':function(){if(this['getDataValue'](_0x1d4b('0x9'))===_0x1d4b('0xa')){return JSON[_0x1d4b('0xb')](this[_0x1d4b('0x6')](_0x1d4b('0xc')));}else{return this['getDataValue'](_0x1d4b('0xc'));}},'set':function(_0x4bc984){if(Array[_0x1d4b('0xd')](_0x4bc984)){this[_0x1d4b('0x4')](_0x1d4b('0xc'),JSON['stringify'](_0x4bc984));}else{this[_0x1d4b('0x4')](_0x1d4b('0xc'),_0x4bc984);}}},'required':{'type':Sequelize[_0x1d4b('0xe')],'defaultValue':![]}};
\ No newline at end of file