salix/services/item/common/models/intrastat.json

32 lines
672 B
JSON

{
"name": "Intrastat",
"base": "VnModel",
"options": {
"mysql": {
"table": "intrastat",
"database": "vn"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"description": {
"type": "String"
}
},
"relations": {
"taxClass": {
"type": "belongsTo",
"model": "TaxClass",
"foreignKey": "taxClassFk"
},
"taxCode": {
"type": "belongsTo",
"model": "TaxCode",
"foreignKey": "taxCodeFk"
}
}
}