changed model name

This commit is contained in:
Daniel Herrero 2017-12-21 11:47:01 +01:00
parent 86209e43cd
commit 723a4143f6
3 changed files with 6 additions and 6 deletions

View File

@ -18,10 +18,10 @@
} }
}, },
"relations": { "relations": {
"taxClass": { "taxGroup": {
"type": "belongsTo", "type": "belongsTo",
"model": "TaxClass", "model": "TaxGroup",
"foreignKey": "taxClassFk" "foreignKey": "taxGroupFk"
}, },
"taxCode": { "taxCode": {
"type": "belongsTo", "type": "belongsTo",

View File

@ -1,9 +1,9 @@
{ {
"name": "TaxClass", "name": "TaxGroup",
"base": "VnModel", "base": "VnModel",
"options": { "options": {
"mysql": { "mysql": {
"table": "taxClass", "table": "taxGroup",
"database": "vn" "database": "vn"
} }
}, },

View File

@ -42,7 +42,7 @@
"Intrastat": { "Intrastat": {
"dataSource": "vn" "dataSource": "vn"
}, },
"TaxClass": { "TaxGroup": {
"dataSource": "vn" "dataSource": "vn"
}, },
"TaxCode": { "TaxCode": {