salix/modules/client/back/models/recovery.json

38 lines
739 B
JSON
Raw Normal View History

{
"name": "Recovery",
"base": "Loggable",
"options": {
2022-05-12 06:06:30 +00:00
"mysql": {
"table": "recovery"
}
},
"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
}
},
"relations": {
2022-05-12 06:06:30 +00:00
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
}
}
}