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

26 lines
474 B
JSON
Raw Permalink Normal View History

2019-01-29 15:37:59 +00:00
{
"name": "WorkerMedia",
"base": "VnModel",
"options": {
"mysql": {
2019-01-31 08:12:29 +00:00
"table": "workerMedia"
2019-01-29 15:37:59 +00:00
}
},
"properties": {
"workerFk": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-01-29 15:37:59 +00:00
},
"mediaValue": {
2022-05-12 07:47:47 +00:00
"type": "string"
2019-01-29 15:37:59 +00:00
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
}
}
}