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

26 lines
513 B
JSON

{
"name": "WorkerTeamCollegues",
"base": "VnModel",
"options": {
"mysql": {
"table": "workerTeamCollegues"
}
},
"properties": {
"workerFk": {
"id": true,
"type": "Number"
},
"collegueFk": {
"id": true,
"type": "Number"
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
}
}
}