2018-02-26 13:37:01 +00:00
|
|
|
{
|
|
|
|
"name": "Recovery",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2018-02-26 13:37:01 +00:00
|
|
|
"options": {
|
2022-05-12 06:06:30 +00:00
|
|
|
"mysql": {
|
|
|
|
"table": "recovery"
|
|
|
|
}
|
2018-02-26 13:37:01 +00:00
|
|
|
},
|
|
|
|
"properties": {
|
2022-05-12 06:06:30 +00:00
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2022-05-12 06:06:30 +00:00
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"started": {
|
|
|
|
"type": "date",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"finished": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"amount": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2022-05-12 06:06:30 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"period": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2022-05-12 06:06:30 +00:00
|
|
|
}
|
2018-02-26 13:37:01 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
2022-05-12 06:06:30 +00:00
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
}
|
2018-02-26 13:37:01 +00:00
|
|
|
}
|
2023-04-12 10:33:14 +00:00
|
|
|
}
|