You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FLAD/Api/src/database/schema/NotificationSchema.ts

6 lines
216 B

const notificationSchema = new mongoose.Schema({
type: {type: String, required: true},
content: {type: String, required: true}
});
export default {Annonce: mongoose.model("nofitication", notificationSchema)}