salix/modules/invoiceOut/back/models/printer.json

36 lines
709 B
JSON
Raw Permalink Normal View History

2023-01-17 09:46:16 +00:00
{
"name": "Printer",
"base": "VnModel",
"options": {
"mysql": {
"table": "printer"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"name": {
"type": "string"
},
"isLabeler": {
"type": "boolean"
}
2023-08-11 10:45:18 +00:00
},
"relations": {
"sector": {
"type": "belongsTo",
"model": "Sector",
"foreignKey": "sectorFk"
}
2023-01-17 09:46:16 +00:00
},
"acls": [{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}]
}