Merge pull request '#8083 add prop' (!3140) from 8083-hotfix-changeState into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #3140 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
15fee5ac8d
|
@ -1,63 +1,66 @@
|
||||||
{
|
{
|
||||||
"name": "Expedition",
|
"name": "Expedition",
|
||||||
"base": "VnModel",
|
"base": "VnModel",
|
||||||
"mixins": {
|
"mixins": {
|
||||||
"Loggable": true
|
"Loggable": true
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"mysql": {
|
||||||
|
"table": "expedition"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"id": true,
|
||||||
|
"type": "number",
|
||||||
|
"description": "Identifier"
|
||||||
},
|
},
|
||||||
"options": {
|
"freightItemFk": {
|
||||||
"mysql": {
|
"type": "number"
|
||||||
"table": "expedition"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"properties": {
|
"created": {
|
||||||
"id": {
|
"type": "date"
|
||||||
"id": true,
|
|
||||||
"type": "number",
|
|
||||||
"description": "Identifier"
|
|
||||||
},
|
|
||||||
"freightItemFk": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"created": {
|
|
||||||
"type": "date"
|
|
||||||
},
|
|
||||||
"counter": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"externalId": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"relations": {
|
"counter": {
|
||||||
"ticket": {
|
"type": "number"
|
||||||
"type": "belongsTo",
|
},
|
||||||
"model": "Ticket",
|
"externalId": {
|
||||||
"foreignKey": "ticketFk"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"agencyMode": {
|
"stateTypeFk": {
|
||||||
"type": "belongsTo",
|
"type": "number"
|
||||||
"model": "AgencyMode",
|
}
|
||||||
"foreignKey": "agencyModeFk"
|
},
|
||||||
},
|
"relations": {
|
||||||
"worker": {
|
"ticket": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Worker",
|
"model": "Ticket",
|
||||||
"foreignKey": "workerFk"
|
"foreignKey": "ticketFk"
|
||||||
},
|
},
|
||||||
"packages": {
|
"agencyMode": {
|
||||||
"type": "hasMany",
|
"type": "belongsTo",
|
||||||
"model": "TicketPackaging",
|
"model": "AgencyMode",
|
||||||
"foreignKey": "ticketFk"
|
"foreignKey": "agencyModeFk"
|
||||||
},
|
},
|
||||||
"freightItem": {
|
"worker": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Item",
|
"model": "Worker",
|
||||||
"foreignKey": "freightItemFk"
|
"foreignKey": "workerFk"
|
||||||
},
|
},
|
||||||
"packaging": {
|
"packages": {
|
||||||
"type": "belongsTo",
|
"type": "hasMany",
|
||||||
"model": "Package",
|
"model": "TicketPackaging",
|
||||||
"foreignKey": "packagingFk"
|
"foreignKey": "ticketFk"
|
||||||
}
|
},
|
||||||
|
"freightItem": {
|
||||||
|
"type": "belongsTo",
|
||||||
|
"model": "Item",
|
||||||
|
"foreignKey": "freightItemFk"
|
||||||
|
},
|
||||||
|
"packaging": {
|
||||||
|
"type": "belongsTo",
|
||||||
|
"model": "Package",
|
||||||
|
"foreignKey": "packagingFk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue