2020-08-11 09:03:43 +00:00
|
|
|
{
|
|
|
|
"name": "WorkerTimeControlMail",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "workerTimeControlMail"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-11-02 13:22:18 +00:00
|
|
|
"type": "number"
|
2020-08-11 09:03:43 +00:00
|
|
|
},
|
|
|
|
"workerFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-08-11 09:03:43 +00:00
|
|
|
},
|
|
|
|
"year": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-08-11 09:03:43 +00:00
|
|
|
},
|
|
|
|
"week": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-08-11 09:03:43 +00:00
|
|
|
},
|
|
|
|
"state": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2020-08-11 09:03:43 +00:00
|
|
|
},
|
|
|
|
"updated": {
|
2022-05-16 08:19:43 +00:00
|
|
|
"type": "date"
|
2020-09-23 05:35:45 +00:00
|
|
|
},
|
2022-11-08 07:46:36 +00:00
|
|
|
"reason": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2023-03-30 06:14:17 +00:00
|
|
|
},
|
|
|
|
"sendedCounter": {
|
|
|
|
"type": "number"
|
2020-08-11 09:03:43 +00:00
|
|
|
}
|
|
|
|
},
|
2024-09-12 07:15:07 +00:00
|
|
|
"relations": {
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "VnUser",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": []
|
|
|
|
}
|