预约时间列表增加是否本人预约时段字段
This commit is contained in:
@@ -27,7 +27,7 @@ public class HyPartnerInterviewBookSituation {
|
||||
@ApiModelProperty("预约的面试结束时间")
|
||||
private String endTime;
|
||||
|
||||
@ApiModelProperty("是否已被预定")
|
||||
@ApiModelProperty("是否已被预定成功")
|
||||
private Boolean booked;
|
||||
|
||||
@ApiModelProperty("预约成功人的 partnerId")
|
||||
|
||||
@@ -85,7 +85,7 @@ public class PartnerInterviewInfoVO {
|
||||
@ApiModelProperty("来源名称")
|
||||
private String userChannelName;
|
||||
|
||||
@ApiModelProperty("是否已被预约")
|
||||
@ApiModelProperty("是否已被预约成功")
|
||||
private Boolean booked;
|
||||
|
||||
@ApiModelProperty("该时间段面试预约人数")
|
||||
|
||||
@@ -27,7 +27,7 @@ public class CalendarInfo {
|
||||
@ApiModelProperty("日期字符串")
|
||||
private String dateStr;
|
||||
|
||||
@ApiModelProperty("飞书日程忙闲清单")
|
||||
@ApiModelProperty("忙闲清单")
|
||||
private List<FreeBusyInfo> freeBusyList;
|
||||
|
||||
public CalendarInfo(Integer dayOfWeek, String year, String month, String day, String dateStr, List<FreeBusyInfo> freeBusyList) {
|
||||
|
||||
@@ -20,9 +20,12 @@ public class FreeBusyInfo {
|
||||
@ApiModelProperty("预约人数")
|
||||
private Integer appointmentCount;
|
||||
|
||||
@ApiModelProperty("是否被预约")
|
||||
@ApiModelProperty("是否被成功预约")
|
||||
private Boolean booked;
|
||||
|
||||
@ApiModelProperty("是否是自己预约的时间段")
|
||||
private Boolean selfBooked;
|
||||
|
||||
public FreeBusyInfo(String startTime, String endTime, boolean free) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
@@ -42,6 +45,15 @@ public class FreeBusyInfo {
|
||||
this.booked = booked;
|
||||
}
|
||||
|
||||
public FreeBusyInfo(String startTime, String endTime, boolean free, Integer appointmentCount, Boolean booked, Boolean selfBooked) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.free = free;
|
||||
this.appointmentCount = appointmentCount;
|
||||
this.booked = booked;
|
||||
this.selfBooked = selfBooked;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
@@ -81,4 +93,16 @@ public class FreeBusyInfo {
|
||||
public void setBooked(Boolean booked) {
|
||||
this.booked = booked;
|
||||
}
|
||||
|
||||
public boolean isFree() {
|
||||
return free;
|
||||
}
|
||||
|
||||
public Boolean getSelfBooked() {
|
||||
return selfBooked;
|
||||
}
|
||||
|
||||
public void setSelfBooked(Boolean selfBooked) {
|
||||
this.selfBooked = selfBooked;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user