Create Appointment works

This commit is contained in:
Riccardo
2021-01-06 11:09:19 +01:00
parent 07cbbf12de
commit f25a3055e5
10 changed files with 150 additions and 76 deletions

View File

@@ -9,11 +9,11 @@ const AppointmentSchema = new Schema({
type: String,
required: false
},
timeStart: {
start: {
type: Date,
required: true
},
timeEnd: {
end: {
type: Date,
required: true
},