完善会议
This commit is contained in:
1 parent
06d2bc5feb
commit
169a2735d9
16 files changed
+1259
-1115
No files matched your search
+171
@@ -0,0 +1,171 @@
|
||||
package com.bsd.pjcloud.integrated.vo.meeting.app;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会议室预约详情页面VO
|
||||
*
|
||||
* @author zjf
|
||||
* @date 2025-01-20
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "会议室预约详情页面VO")
|
||||
public class MeetingRoomBookingDetailVo {
|
||||
|
||||
/**
|
||||
* 会议室ID
|
||||
*/
|
||||
@Schema(description = "会议室ID")
|
||||
private Long roomId;
|
||||
|
||||
/**
|
||||
* 会议室名称
|
||||
*/
|
||||
@Schema(description = "会议室名称")
|
||||
private String roomName;
|
||||
|
||||
/**
|
||||
* 查询日期
|
||||
*/
|
||||
@Schema(description = "查询日期")
|
||||
private LocalDate queryDate;
|
||||
|
||||
/**
|
||||
* 时间段状态列表
|
||||
*/
|
||||
@Schema(description = "时间段状态列表")
|
||||
private List<TimeSlotStatusVo> timeSlots;
|
||||
|
||||
/**
|
||||
* 当日预约列表
|
||||
*/
|
||||
@Schema(description = "当日预约列表")
|
||||
private List<DailyBookingVo> dailyBookings;
|
||||
|
||||
/**
|
||||
* 时间段状态VO
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "时间段状态VO")
|
||||
public static class TimeSlotStatusVo {
|
||||
/**
|
||||
* 开始时间(如:08:00)
|
||||
*/
|
||||
@Schema(description = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间(如:08:30)
|
||||
*/
|
||||
@Schema(description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 状态:available-可预约,booked-已预约,reviewing-审核中
|
||||
*/
|
||||
@Schema(description = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 状态描述
|
||||
*/
|
||||
@Schema(description = "状态描述")
|
||||
private String statusText;
|
||||
|
||||
/**
|
||||
* 预约信息(当状态为已预约或审核中时)
|
||||
*/
|
||||
@Schema(description = "预约信息")
|
||||
private BookingInfoVo bookingInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预约信息VO
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "预约信息VO")
|
||||
public static class BookingInfoVo {
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
@Schema(description = "会议主题")
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 申请人
|
||||
*/
|
||||
@Schema(description = "申请人")
|
||||
private String applicantName;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
@Schema(description = "审核状态")
|
||||
private String checkStatus;
|
||||
|
||||
/**
|
||||
* 审核状态描述
|
||||
*/
|
||||
@Schema(description = "审核状态描述")
|
||||
private String checkStatusText;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当日预约VO
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "当日预约VO")
|
||||
public static class DailyBookingVo {
|
||||
/**
|
||||
* 预约ID
|
||||
*/
|
||||
@Schema(description = "预约ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 会议主题
|
||||
*/
|
||||
@Schema(description = "会议主题")
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 申请人
|
||||
*/
|
||||
@Schema(description = "申请人")
|
||||
private String applicantName;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Schema(description = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@Schema(description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Schema(description = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 状态描述
|
||||
*/
|
||||
@Schema(description = "状态描述")
|
||||
private String statusText;
|
||||
|
||||
/**
|
||||
* 会议说明
|
||||
*/
|
||||
@Schema(description = "会议说明")
|
||||
private String description;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -13,7 +13,7 @@ public class TimeSlotVo {
|
||||
@Schema(description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Schema(description = "状态:free-空闲,booked-已预约,disabled-不可用")
|
||||
@Schema(description = "状态:free-空闲,booked-已预约,reviewing-审核中,disabled-不可用")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "预约人信息")
|
||||
|
||||
Reference in new issue
Block a user