X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmCompany%2FcmCompany.attributes.js;h=013386b4ddee079d369d1b8136aa6b46cccffa49;hb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;hp=4bdd11699f08b84f2877fbda5dc5ec69848ece58;hpb=9de5174448f6124e143d4b68967b102fec513aee;p=motion2.git diff --git a/server/api/cmCompany/cmCompany.attributes.js b/server/api/cmCompany/cmCompany.attributes.js index 4bdd116..013386b 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 _0x5ab9=['exports','STRING','name','sequelize'];(function(_0x120e59,_0x443649){var _0x53ff80=function(_0x5a642e){while(--_0x5a642e){_0x120e59['push'](_0x120e59['shift']());}};_0x53ff80(++_0x443649);}(_0x5ab9,0x1c7));var _0x95ab=function(_0xabfec4,_0x35076e){_0xabfec4=_0xabfec4-0x0;var _0x7bafa2=_0x5ab9[_0xabfec4];return _0x7bafa2;};'use strict';var Sequelize=require(_0x95ab('0x0'));module[_0x95ab('0x1')]={'name':{'type':Sequelize[_0x95ab('0x2')],'unique':_0x95ab('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x95ab('0x2')]},'companyId':{'type':Sequelize[_0x95ab('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x95ab('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x95ab('0x2')]},'street':{'type':Sequelize[_0x95ab('0x2')]},'postalCode':{'type':Sequelize[_0x95ab('0x2')]},'city':{'type':Sequelize[_0x95ab('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x95ab('0x2')]},'sStreet':{'type':Sequelize[_0x95ab('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0x95ab('0x2')]},'sCountry':{'type':Sequelize[_0x95ab('0x2')]},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xc331=['STRING','exports'];(function(_0x2c5ec9,_0x497868){var _0x2ce268=function(_0x14cd42){while(--_0x14cd42){_0x2c5ec9['push'](_0x2c5ec9['shift']());}};_0x2ce268(++_0x497868);}(_0xc331,0x163));var _0x1c33=function(_0x2690d3,_0xb74117){_0x2690d3=_0x2690d3-0x0;var _0x231f83=_0xc331[_0x2690d3];return _0x231f83;};'use strict';var Sequelize=require('sequelize');module[_0x1c33('0x0')]={'name':{'type':Sequelize[_0x1c33('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x1c33('0x1')]},'companyId':{'type':Sequelize[_0x1c33('0x1')]},'website':{'type':Sequelize[_0x1c33('0x1')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x1c33('0x1')]},'type':{'type':Sequelize[_0x1c33('0x1')]},'street':{'type':Sequelize[_0x1c33('0x1')]},'postalCode':{'type':Sequelize[_0x1c33('0x1')]},'city':{'type':Sequelize[_0x1c33('0x1')]},'country':{'type':Sequelize[_0x1c33('0x1')]},'email':{'type':Sequelize[_0x1c33('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x1c33('0x1')]},'sPostalCode':{'type':Sequelize[_0x1c33('0x1')]},'sCity':{'type':Sequelize[_0x1c33('0x1')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x1c33('0x1')]}}; \ No newline at end of file