获取各预约时间段预约情况bug-fix
This commit is contained in:
@@ -15,7 +15,7 @@ public class FreeBusyInfo {
|
||||
private String endTime;
|
||||
|
||||
@ApiModelProperty("是否空闲")
|
||||
private boolean isFree;
|
||||
private boolean free;
|
||||
|
||||
@ApiModelProperty("预约人数")
|
||||
private Integer appointmentCount;
|
||||
@@ -23,22 +23,21 @@ public class FreeBusyInfo {
|
||||
@ApiModelProperty("是否被预约")
|
||||
private Boolean booked;
|
||||
|
||||
public FreeBusyInfo(String startTime, String endTime, boolean isFree) {
|
||||
public FreeBusyInfo(String startTime, String endTime, boolean free) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.isFree = isFree;
|
||||
this.free = free;
|
||||
}
|
||||
|
||||
public FreeBusyInfo(String startTime, String endTime) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.isFree = isFree;
|
||||
}
|
||||
|
||||
public FreeBusyInfo(String startTime, String endTime, boolean isFree, Integer appointmentCount, Boolean booked) {
|
||||
public FreeBusyInfo(String startTime, String endTime, boolean free, Integer appointmentCount, Boolean booked) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.isFree = isFree;
|
||||
this.free = free;
|
||||
this.appointmentCount = appointmentCount;
|
||||
this.booked = booked;
|
||||
}
|
||||
@@ -59,12 +58,12 @@ public class FreeBusyInfo {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public boolean isFree() {
|
||||
return isFree;
|
||||
public boolean getFree() {
|
||||
return free;
|
||||
}
|
||||
|
||||
public void setFree(boolean free) {
|
||||
isFree = free;
|
||||
this.free = free;
|
||||
}
|
||||
|
||||
public Integer getAppointmentCount() {
|
||||
|
||||
Reference in New Issue
Block a user