This commit is contained in:
parent
ed1d8ca94f
commit
2ea2943eca
|
@ -9,11 +9,11 @@
|
|||
"properties": {
|
||||
"id": {
|
||||
"type": "number",
|
||||
"description": "Identifier"
|
||||
"description": "Identifier",
|
||||
"id": true
|
||||
},
|
||||
"code": {
|
||||
"type": "string",
|
||||
"id": true
|
||||
"type": "string"
|
||||
},
|
||||
"parkingFk": {
|
||||
"type": "number"
|
||||
|
|
|
@ -4,6 +4,13 @@
|
|||
"mysql": {
|
||||
"table": "expeditionPallet"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "number",
|
||||
"id": true,
|
||||
"description": "Identifier"
|
||||
}
|
||||
},
|
||||
"acls": [{
|
||||
"accessType": "WRITE",
|
||||
|
@ -11,6 +18,5 @@
|
|||
"principalId": "production",
|
||||
"permission": "ALLOW"
|
||||
}]
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5,12 +5,43 @@
|
|||
"table": "expeditionScan"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"acls": [{
|
||||
"accessType": "WRITE",
|
||||
"principalType": "ROLE",
|
||||
"principalId": "production",
|
||||
"permission": "ALLOW"
|
||||
}]
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue