fix: add SchedulePool and ScheduleSlot entity stubs
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
package com.openhis.application.domain.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
public class SchedulePool {
|
||||||
|
private Long id;
|
||||||
|
private Long doctorId;
|
||||||
|
private Date scheduleDate;
|
||||||
|
private String status;
|
||||||
|
private Integer totalSlots;
|
||||||
|
private Integer availableSlots;
|
||||||
|
public Long getId() { return id; }
|
||||||
|
public void setId(Long id) { this.id = id; }
|
||||||
|
public Long getDoctorId() { return doctorId; }
|
||||||
|
public void setDoctorId(Long doctorId) { this.doctorId = doctorId; }
|
||||||
|
public Date getScheduleDate() { return scheduleDate; }
|
||||||
|
public void setScheduleDate(Date scheduleDate) { this.scheduleDate = scheduleDate; }
|
||||||
|
public String getStatus() { return status; }
|
||||||
|
public void setStatus(String status) { this.status = status; }
|
||||||
|
public Integer getTotalSlots() { return totalSlots; }
|
||||||
|
public void setTotalSlots(Integer totalSlots) { this.totalSlots = totalSlots; }
|
||||||
|
public Integer getAvailableSlots() { return availableSlots; }
|
||||||
|
public void setAvailableSlots(Integer availableSlots) { this.availableSlots = availableSlots; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package com.openhis.application.domain.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
public class ScheduleSlot {
|
||||||
|
private Long id;
|
||||||
|
private Long schedulePoolId;
|
||||||
|
private Date startTime;
|
||||||
|
private Date endTime;
|
||||||
|
private String status;
|
||||||
|
public Long getId() { return id; }
|
||||||
|
public void setId(Long id) { this.id = id; }
|
||||||
|
public Long getSchedulePoolId() { return schedulePoolId; }
|
||||||
|
public void setSchedulePoolId(Long schedulePoolId) { this.schedulePoolId = schedulePoolId; }
|
||||||
|
public Date getStartTime() { return startTime; }
|
||||||
|
public void setStartTime(Date startTime) { this.startTime = startTime; }
|
||||||
|
public Date getEndTime() { return endTime; }
|
||||||
|
public void setEndTime(Date endTime) { this.endTime = endTime; }
|
||||||
|
public String getStatus() { return status; }
|
||||||
|
public void setStatus(String status) { this.status = status; }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user