2017-10-13 14:22:45 +00:00
|
|
|
{
|
|
|
|
"name": "Warehouse",
|
2018-01-29 18:57:00 +00:00
|
|
|
"description": "Warehouses from where orders are sent",
|
2017-10-13 14:22:45 +00:00
|
|
|
"base": "VnModel",
|
2018-01-29 11:37:54 +00:00
|
|
|
"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
|
|
|
},
|
2021-05-24 15:41:22 +00:00
|
|
|
"code": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2021-05-24 15:41:22 +00:00
|
|
|
},
|
2018-01-29 11:37:54 +00:00
|
|
|
"isInventory": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2017-10-13 14:22:45 +00:00
|
|
|
},
|
|
|
|
"isManaged":{
|
2018-03-28 07:30:33 +00:00
|
|
|
"type": "boolean"
|
2019-09-06 07:47:58 +00:00
|
|
|
},
|
|
|
|
"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
|
|
|
}
|