{
	"name": "NotificationSubscription",
	"base": "VnModel",
	"options": {
		"mysql": {
			"table": "util.notificationSubscription"
		}
	},
    "properties": {
        "id": {
            "type": "number",
            "id": true,
            "description": "Primary key"
        },
        "notificationFk": {
            "type": "number",
            "description": "Foreign key to Notification"
        },
        "userFk": {
            "type": "number",
            "description": "Foreign key to Account"
        }
    },
	"relations": {
        "notification": {
            "type": "belongsTo",
            "model": "Notification",
            "foreignKey": "notificationFk"
        },
        "user": {
            "type": "belongsTo",
            "model": "VnUser",
            "foreignKey": "userFk"
        }
    }
}