salix/modules/item/back/models/intrastat.json

39 lines
810 B
JSON
Raw Normal View History

2017-12-20 08:53:50 +00:00
{
"name": "Intrastat",
"base": "VnModel",
"options": {
"mysql": {
"table": "intrastat"
2017-12-20 08:53:50 +00:00
}
},
"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"
}
2018-02-21 08:28:17 +00:00
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
2017-12-20 08:53:50 +00:00
}