Built motion from commit 7e022ab.|2.0.14
[motion2.git] / server / api / cmContact / cmContact.attributes.js
1 var _0xbc68=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73","\x53\x54\x52\x49\x4E\x47","\x74\x61\x67\x73","\x3B","\x6A\x6F\x69\x6E","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x67\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x73\x70\x6C\x69\x74","\x65\x6E\x64\x73\x57\x69\x74\x68","\x70\x6F\x70"];_0xbc68[0];var _=require(_0xbc68[1]);var Sequelize=require(_0xbc68[2]);module[_0xbc68[3]]= {firstName:{type:Sequelize[_0xbc68[4]],allowNull:false},lastName:{type:Sequelize[_0xbc68[4]]},tags:{type:Sequelize[_0xbc68[4]],set:function(_0x1623x3){this[_0xbc68[8]](_0xbc68[5],_0x1623x3?_0x1623x3[_0xbc68[7]](_0xbc68[6])+ _0xbc68[6]:null)},get:function(){var _0x1623x4=this[_0xbc68[9]](_0xbc68[5])?this[_0xbc68[9]](_0xbc68[5])[_0xbc68[10]](_0xbc68[6]):[];if(_[_0xbc68[11]](this[_0xbc68[9]](_0xbc68[5]),_0xbc68[6])){_0x1623x4[_0xbc68[12]]()};return _0x1623x4}},street:{type:Sequelize[_0xbc68[4]]},postalCode:{type:Sequelize[_0xbc68[4]]},city:{type:Sequelize[_0xbc68[4]]},country:{type:Sequelize[_0xbc68[4]]},dateOfBirth:{type:Sequelize[_0xbc68[4]]},description:{type:Sequelize[_0xbc68[4]]},phone:{type:Sequelize[_0xbc68[4]]},mobile:{type:Sequelize[_0xbc68[4]]},fax:{type:Sequelize[_0xbc68[4]]},email:{type:Sequelize[_0xbc68[4]],validate:{isEmail:true}},url:{type:Sequelize[_0xbc68[4]]}}