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

46 lines
926 B
JSON
Raw Normal View History

2019-03-27 07:48:13 +00:00
{
"name": "Sms",
"description": "Sms sent to client",
2020-01-15 12:27:14 +00:00
"base": "VnModel",
2019-03-27 07:48:13 +00:00
"options": {
"mysql": {
"table": "sms"
}
},
"properties": {
"id": {
2022-05-12 07:47:47 +00:00
"type": "number",
2019-03-27 07:48:13 +00:00
"id": true,
"description": "Identifier"
},
"sender": {
2022-05-12 07:47:47 +00:00
"type": "string",
2019-03-27 07:48:13 +00:00
"required": true
},
"destination": {
2022-05-12 07:47:47 +00:00
"type": "string",
2019-03-27 07:48:13 +00:00
"required": true
},
"message": {
2022-05-12 07:47:47 +00:00
"type": "string",
2019-03-27 07:48:13 +00:00
"required": true
},
"statusCode": {
2022-05-12 07:47:47 +00:00
"type": "number"
2019-03-27 07:48:13 +00:00
},
"status": {
2022-05-12 07:47:47 +00:00
"type": "string"
2019-03-27 07:48:13 +00:00
},
"created": {
"type": "date"
2019-03-27 07:48:13 +00:00
}
},
"relations": {
"sender": {
"type": "belongsTo",
2023-01-24 08:04:43 +00:00
"model": "VnUser",
2019-03-27 07:48:13 +00:00
"foreignKey": "senderFk"
}
}
}