51 lines
976 B
JSON
51 lines
976 B
JSON
|
{
|
||
|
"name": "Expedition",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "expedition"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"id": true,
|
||
|
"type": "Number",
|
||
|
"description": "Identifier"
|
||
|
},
|
||
|
"isBox": {
|
||
|
"type": "Number"
|
||
|
},
|
||
|
"created": {
|
||
|
"type": "Date"
|
||
|
},
|
||
|
"counter": {
|
||
|
"type": "Number"
|
||
|
},
|
||
|
"checked": {
|
||
|
"type": "Number"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"ticket": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Ticket",
|
||
|
"foreignKey": "ticketFk"
|
||
|
},
|
||
|
"agencyMode": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "agency-mode",
|
||
|
"foreignKey": "agencyModeFk"
|
||
|
},
|
||
|
"item": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Item",
|
||
|
"foreignKey": "itemFk"
|
||
|
},
|
||
|
"worker": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Worker",
|
||
|
"foreignKey": "workerFk"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|