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

26 lines
474 B
JSON
Raw 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,
"type": "Number"
},
"mediaValue": {
"type": "String"
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
}
}
}