diff --git a/src/main/java/com/MeetMate/appointment/Appointment.java b/src/main/java/com/MeetMate/appointment/Appointment.java index 442c2d8..bb730c8 100644 --- a/src/main/java/com/MeetMate/appointment/Appointment.java +++ b/src/main/java/com/MeetMate/appointment/Appointment.java @@ -1,24 +1,24 @@ -//package com.MeetMate.appointment; -// -//import com.MeetMate.enums.AppointmentStatus; -//import lombok.Data; -//import lombok.NoArgsConstructor; -//import org.springframework.data.mongodb.core.mapping.Document; -// -//import java.time.LocalDateTime; -// -//@Document(collection = "appointments") -//@Data -//@NoArgsConstructor -//public class Appointment { -// long id; -// LocalDateTime from; -// LocalDateTime to; -// long companyID; -// long clientID; -// long assigneeID; -//// Select Prompt → f.E. medical industry: Untersuchung, Operation -// String description; -// String location; -// AppointmentStatus status; -//} +package com.MeetMate.appointment; + +import com.MeetMate.enums.AppointmentStatus; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.springframework.data.mongodb.core.mapping.Document; + +import java.time.LocalDateTime; + +@Document(collection = "appointments") +@Data +@NoArgsConstructor +public class Appointment { + long id; + LocalDateTime from; + LocalDateTime to; + long companyID; + long clientID; + long assigneeID; +// Select Prompt → f.E. medical industry: Untersuchung, Operation + String description; + String location; + AppointmentStatus status; +}