Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / cmCustomField / cmCustomField.attributes.js
index 91bba19..b8e3c06 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x5147=['VIRTUAL','alias','setDataValue','getDataValue','name','STRING','TEXT','long','type','parse','values','stringify','BOOLEAN','sequelize','lodash','exports'];(function(_0x53f025,_0x476c3b){var _0x2a1bca=function(_0x4c7ac0){while(--_0x4c7ac0){_0x53f025['push'](_0x53f025['shift']());}};_0x2a1bca(++_0x476c3b);}(_0x5147,0x12d));var _0x7514=function(_0x5241c4,_0x36b3b4){_0x5241c4=_0x5241c4-0x0;var _0x34d63e=_0x5147[_0x5241c4];return _0x34d63e;};'use strict';var Sequelize=require(_0x7514('0x0'));var _=require(_0x7514('0x1'));module[_0x7514('0x2')]={'name':{'type':Sequelize[_0x7514('0x3')],'get':function(_0x25a501){return this['getDataValue'](_0x7514('0x4'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0xbae48f){this[_0x7514('0x5')]('alias',_0xbae48f?_0xbae48f:this[_0x7514('0x6')](_0x7514('0x7')));}},'type':{'type':Sequelize[_0x7514('0x8')],'allowNull':![]},'values':{'type':Sequelize[_0x7514('0x9')](_0x7514('0xa')),'get':function(){if(this['getDataValue'](_0x7514('0xb'))==='select'){return JSON[_0x7514('0xc')](this[_0x7514('0x6')]('values'));}else{return this['getDataValue'](_0x7514('0xd'));}},'set':function(_0x543e9d){if(Array['isArray'](_0x543e9d)){this[_0x7514('0x5')](_0x7514('0xd'),JSON[_0x7514('0xe')](_0x543e9d));}else{this['setDataValue'](_0x7514('0xd'),_0x543e9d);}}},'required':{'type':Sequelize[_0x7514('0xf')],'defaultValue':![]}};
\ No newline at end of file