salix/back/models/warehouse.json

39 lines
683 B
JSON
Raw Permalink Normal View History

2017-10-13 14:22:45 +00:00
{
"name": "Warehouse",
"description": "Warehouses from where orders are sent",
2017-10-13 14:22:45 +00:00
"base": "VnModel",
"options": {
"mysql": {
"table": "warehouse"
}
},
2017-10-13 14:22:45 +00:00
"properties": {
"id": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number",
2017-10-13 14:22:45 +00:00
"forceId": false
},
"name": {
2022-05-12 07:47:47 +00:00
"type": "string"
2017-10-13 14:22:45 +00:00
},
"code": {
2022-05-12 07:47:47 +00:00
"type": "string"
},
"isInventory": {
2022-05-12 07:47:47 +00:00
"type": "number"
2017-10-13 14:22:45 +00:00
},
"isManaged":{
"type": "boolean"
2017-10-13 14:22:45 +00:00
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
2019-06-07 06:05:34 +00:00
"scope" : {"where": {"isForTicket": {"neq": 0}}}
2017-10-13 14:22:45 +00:00
}