salix/modules/worker/back/models/worker-team-collegues.json

26 lines
513 B
JSON
Raw Normal View History

2018-12-12 13:30:48 +00:00
{
"name": "WorkerTeamCollegues",
"base": "VnModel",
"options": {
"mysql": {
"table": "workerTeamCollegues"
}
},
"properties": {
"workerFk": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2018-12-12 13:30:48 +00:00
},
"collegueFk": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2018-12-12 13:30:48 +00:00
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
}
}
}