X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmCompany%2FcmCompany.attributes.js;h=0a14137e07dfd7e796b5489f5eda4c8991d79e4d;hb=9a44dbf63247346f18777cf5ec4c91e11165c4b0;hp=a023c57b89f71aa528706f44f571d5e1bfb312fb;hpb=ef4e758b3a8a542ed14842116a07db29f3cf2e7c;p=motion2.git diff --git a/server/api/cmCompany/cmCompany.attributes.js b/server/api/cmCompany/cmCompany.attributes.js index a023c57..0a14137 100644 --- a/server/api/cmCompany/cmCompany.attributes.js +++ b/server/api/cmCompany/cmCompany.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2ad5=['sequelize','exports','STRING','name'];(function(_0x4fc421,_0x94e88){var _0x8c6d63=function(_0x5b8b42){while(--_0x5b8b42){_0x4fc421['push'](_0x4fc421['shift']());}};_0x8c6d63(++_0x94e88);}(_0x2ad5,0xdc));var _0x52ad=function(_0x2ae07e,_0x35a3d0){_0x2ae07e=_0x2ae07e-0x0;var _0x211adf=_0x2ad5[_0x2ae07e];return _0x211adf;};'use strict';var Sequelize=require(_0x52ad('0x0'));module[_0x52ad('0x1')]={'name':{'type':Sequelize[_0x52ad('0x2')],'unique':_0x52ad('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x52ad('0x2')]},'companyId':{'type':Sequelize[_0x52ad('0x2')]},'website':{'type':Sequelize[_0x52ad('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x52ad('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x52ad('0x2')]},'postalCode':{'type':Sequelize[_0x52ad('0x2')]},'city':{'type':Sequelize[_0x52ad('0x2')]},'country':{'type':Sequelize[_0x52ad('0x2')]},'email':{'type':Sequelize[_0x52ad('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x52ad('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x52ad('0x2')]},'sCity':{'type':Sequelize[_0x52ad('0x2')]},'sCountry':{'type':Sequelize[_0x52ad('0x2')]},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x235f=['name','STRING','exports'];(function(_0x999b85,_0x1edc2b){var _0x1d7124=function(_0x59cd29){while(--_0x59cd29){_0x999b85['push'](_0x999b85['shift']());}};_0x1d7124(++_0x1edc2b);}(_0x235f,0x170));var _0xf235=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x235f[_0x31e29a];return _0x32d892;};'use strict';var Sequelize=require('sequelize');module[_0xf235('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xf235('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xf235('0x2')]},'companyId':{'type':Sequelize[_0xf235('0x2')]},'website':{'type':Sequelize[_0xf235('0x2')]},'phone':{'type':Sequelize[_0xf235('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xf235('0x2')]},'street':{'type':Sequelize[_0xf235('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xf235('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xf235('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xf235('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xf235('0x2')]},'sCity':{'type':Sequelize[_0xf235('0x2')]},'sCountry':{'type':Sequelize[_0xf235('0x2')]},'description':{'type':Sequelize[_0xf235('0x2')]}}; \ No newline at end of file