Skip to content

Commit

Permalink
added java appointment model
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugi-Games committed Sep 24, 2024
1 parent ce8d739 commit d5dc5f1
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/main/java/com/MeetMate/appointment/Appointment.java
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit d5dc5f1

Please sign in to comment.