salix/modules/ticket/back/models/expeditionScan.json

47 lines
1.0 KiB
JSON
Raw Normal View History

2023-09-22 10:29:56 +00:00
{
"name": "ExpeditionScan",
"options": {
"mysql": {
"table": "expeditionScan"
}
},
2023-09-26 11:12:18 +00:00
"properties": {
"id": {
"type": "number",
2023-10-27 14:16:22 +00:00
"description": "Identifier",
"id": true
2023-09-26 11:12:18 +00:00
},
"expeditionFk": {
"type": "number",
2023-10-27 14:16:22 +00:00
"description": "Identifier"
2023-09-26 11:12:18 +00:00
},
"palletFk": {
"type": "number",
2023-10-27 14:16:22 +00:00
"description": "Identifier"
2023-09-26 11:12:18 +00:00
},
"scanned": {
"type": "date",
"default": "$now"
}
},
"relations": {
"expedition": {
"type": "belongsTo",
"model": "Expedition",
"foreignKey": "expeditionFk"
},
"pallet": {
"type": "belongsTo",
"model": "expeditionPallet",
"foreignKey": "palletFk"
}
},
2023-09-22 10:29:56 +00:00
"acls": [{
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "production",
"permission": "ALLOW"
}]
2023-09-26 11:12:18 +00:00
}
2023-09-22 10:29:56 +00:00