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",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"expeditionFk": {
|
|
|
|
"type": "number",
|
|
|
|
"description": "Identifier",
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"palletFk": {
|
|
|
|
"type": "number",
|
|
|
|
"description": "Identifier",
|
|
|
|
"id": true
|
|
|
|
},
|
|
|
|
"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
|
|
|
|