feat: refs #4988 add agency
This commit is contained in:
parent
7aeb9e4f32
commit
2efd1945f8
|
@ -15,6 +15,22 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
"warehouseFk": {
|
||||
"type": "number",
|
||||
"required": false
|
||||
},
|
||||
"isOwn": {
|
||||
"type": "boolean",
|
||||
"required": false
|
||||
},
|
||||
"workCenterFk": {
|
||||
"type": "number",
|
||||
"required": false
|
||||
},
|
||||
"isAnyVolumeAllowed": {
|
||||
"type": "boolean",
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
|
@ -22,6 +38,16 @@
|
|||
"type": "hasOne",
|
||||
"model": "SupplierAgencyTerm",
|
||||
"foreignKey": "agencyFk"
|
||||
},
|
||||
"warehouse": {
|
||||
"type": "belongsTo",
|
||||
"model": "Warehouse",
|
||||
"foreignKey": "warehouseFk"
|
||||
},
|
||||
"workCenter": {
|
||||
"type": "belongsTo",
|
||||
"model": "WorkCenter",
|
||||
"foreignKey": "workCenterFk"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue