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