salix/back/models/notification.json

30 lines
596 B
JSON
Raw Permalink Normal View History

2022-07-19 13:17:22 +00:00
{
2022-07-20 12:54:50 +00:00
"name": "Notification",
2022-07-19 13:17:22 +00:00
"base": "VnModel",
"options": {
"mysql": {
2022-07-20 12:54:50 +00:00
"table": "util.notification"
2022-07-19 13:17:22 +00:00
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"name": {
"type": "string",
"required": true
2022-07-19 13:17:22 +00:00
},
"description": {
"type": "string"
}
},
"relations": {
"subscription": {
"type": "hasMany",
"model": "NotificationSubscription",
"foreignKey": "notificationFk"
}
2022-07-19 13:17:22 +00:00
}
}