salix/back/models/workerActivity.json

39 lines
598 B
JSON
Raw Permalink Normal View History

2024-02-26 11:52:34 +00:00
{
"name": "WorkerActivity",
"base": "VnModel",
"options": {
"mysql": {
"table": "workerActivity"
}
},
"properties": {
"id": {
"id": true,
"type": "number"
},
"created": {
"type": "date"
},
2024-03-05 10:53:57 +00:00
"model": {
"type": "string"
},
"event": {
"type": "string"
},
"description": {
"type": "string"
},
2024-02-26 11:52:34 +00:00
"relations": {
"workerFk": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
},
"workerActivityTypeFk": {
"type": "belongsTo",
"model": "WorkerActivityType",
"foreignKey": "workerActivityTypeFk"
}
}
}
}