salix/back/models/warehouse.json

42 lines
736 B
JSON
Raw 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,
"type": "Number",
"forceId": false
},
"name": {
"type": "String"
},
"code": {
"type": "String"
},
"isInventory": {
2017-10-13 14:22:45 +00:00
"type": "Number"
},
"isManaged":{
"type": "boolean"
},
"hasStowaway":{
"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
}