salix/modules/worker/back/models/worker-mana.json

26 lines
468 B
JSON
Raw Permalink Normal View History

2018-04-29 11:47:33 +00:00
{
"name": "WorkerMana",
"base": "VnModel",
"options": {
"mysql": {
2019-12-23 14:15:58 +00:00
"table": "workerMana"
2018-04-29 11:47:33 +00:00
}
},
"properties": {
"amount": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-04-29 11:47:33 +00:00
},
"workerFk": {
2019-01-29 20:45:43 +00:00
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2018-04-29 11:47:33 +00:00
}
},
"relations": {
"worker": {
2019-01-29 20:45:43 +00:00
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
2018-04-29 11:47:33 +00:00
}
}
}