X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmCompany%2FcmCompany.attributes.js;h=e95a8acdbf816df06a86c937370e005610f2afb5;hb=7c4151f27eeb9d934f0837918680e2665287b602;hp=ead6a0d7eaf2410ddac2c41d7d92335100a2c84d;hpb=d0a5f290c38808a51b2a974ceac262033db82ac8;p=motion2.git diff --git a/server/api/cmCompany/cmCompany.attributes.js b/server/api/cmCompany/cmCompany.attributes.js index ead6a0d..e95a8ac 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 _0xe237=['exports','STRING','name'];(function(_0x12beaf,_0xf1274a){var _0x583a2d=function(_0x1c26e0){while(--_0x1c26e0){_0x12beaf['push'](_0x12beaf['shift']());}};_0x583a2d(++_0xf1274a);}(_0xe237,0x16e));var _0x7e23=function(_0x2cc07c,_0x56858){_0x2cc07c=_0x2cc07c-0x0;var _0x47c3b6=_0xe237[_0x2cc07c];return _0x47c3b6;};'use strict';var Sequelize=require('sequelize');module[_0x7e23('0x0')]={'name':{'type':Sequelize[_0x7e23('0x1')],'unique':_0x7e23('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x7e23('0x1')]},'website':{'type':Sequelize[_0x7e23('0x1')]},'phone':{'type':Sequelize[_0x7e23('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x7e23('0x1')]},'street':{'type':Sequelize[_0x7e23('0x1')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x7e23('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x7e23('0x1')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x7e23('0x1')]},'sCity':{'type':Sequelize[_0x7e23('0x1')]},'sCountry':{'type':Sequelize[_0x7e23('0x1')]},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xb018=['STRING','sequelize','exports'];(function(_0x3219bb,_0x222b4b){var _0x491e58=function(_0x5bc10e){while(--_0x5bc10e){_0x3219bb['push'](_0x3219bb['shift']());}};_0x491e58(++_0x222b4b);}(_0xb018,0x15a));var _0x8b01=function(_0x714af2,_0x121cda){_0x714af2=_0x714af2-0x0;var _0x78aa51=_0xb018[_0x714af2];return _0x78aa51;};'use strict';var Sequelize=require(_0x8b01('0x0'));module[_0x8b01('0x1')]={'name':{'type':Sequelize[_0x8b01('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x8b01('0x2')]},'companyId':{'type':Sequelize[_0x8b01('0x2')]},'website':{'type':Sequelize[_0x8b01('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x8b01('0x2')]},'type':{'type':Sequelize[_0x8b01('0x2')]},'street':{'type':Sequelize[_0x8b01('0x2')]},'postalCode':{'type':Sequelize[_0x8b01('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x8b01('0x2')]},'email':{'type':Sequelize[_0x8b01('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x8b01('0x2')]},'sStreet':{'type':Sequelize[_0x8b01('0x2')]},'sPostalCode':{'type':Sequelize[_0x8b01('0x2')]},'sCity':{'type':Sequelize[_0x8b01('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x8b01('0x2')]}}; \ No newline at end of file