2017-12-20 08:53:50 +00:00
|
|
|
{
|
|
|
|
"name": "Intrastat",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "intrastat",
|
|
|
|
"database": "vn"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "String"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
2018-01-10 11:49:52 +00:00
|
|
|
"taxClass": {
|
2017-12-20 08:53:50 +00:00
|
|
|
"type": "belongsTo",
|
2018-01-10 11:49:52 +00:00
|
|
|
"model": "TaxClass",
|
2018-01-09 10:25:35 +00:00
|
|
|
"foreignKey": "taxClassFk"
|
2017-12-20 08:53:50 +00:00
|
|
|
},
|
|
|
|
"taxCode": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "TaxCode",
|
|
|
|
"foreignKey": "taxCodeFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|