diff --git a/pjcloud-integrated/pjcloud-integrated-api/src/main/java/com/bsd/pjcloud/integrated/vo/meeting/app/MeetingBookingDetailVo.java b/pjcloud-integrated/pjcloud-integrated-api/src/main/java/com/bsd/pjcloud/integrated/vo/meeting/app/MeetingBookingDetailVo.java new file mode 100644 index 000000000..c2357c292 --- /dev/null +++ b/pjcloud-integrated/pjcloud-integrated-api/src/main/java/com/bsd/pjcloud/integrated/vo/meeting/app/MeetingBookingDetailVo.java @@ -0,0 +1,235 @@ +package com.bsd.pjcloud.integrated.vo.meeting.app; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; + +/** + * 预约详情VO + * + * @author zjf + * @date 2025-01-17 + */ +@Data +@Schema(description = "预约详情VO") +public class MeetingBookingDetailVo { + + /** + * id + */ + @Schema(description = "预约ID") + private Long id; + + /** + * 会议主题 + */ + @Schema(description = "会议主题") + private String title; + + /** + * 会议室id + */ + @Schema(description = "会议室ID") + private Long roomId; + + /** + * 会议室名称 + */ + @Schema(description = "会议室名称") + private String roomName; + + /** + * 会议室位置 + */ + @Schema(description = "会议室位置") + private String roomLocation; + + /** + * 会议室容量 + */ + @Schema(description = "会议室容量") + private Integer roomCapacity; + + /** + * 会议室设备 + */ + @Schema(description = "会议室设备") + private String roomEquipment; + + /** + * 会议室图片 + */ + @Schema(description = "会议室图片") + private String roomPicUrl; + + /** + * 会议室描述 + */ + @Schema(description = "会议室描述") + private String roomDescription; + + /** + * 会议室状态 + */ + @Schema(description = "会议室状态") + private String roomStatus; + + /** + * 会议室状态描述 + */ + @Schema(description = "会议室状态描述") + private String roomStatusText; + + /** + * 会议室可用时间段 + */ + @Schema(description = "会议室可用时间段") + private String roomAvailableTime; + + /** + * 会议说明 + */ + @Schema(description = "会议说明") + private String description; + + /** + * 审批状态 + */ + @Schema(description = "审批状态") + private String checkStatus; + + /** + * 审批状态描述 + */ + @Schema(description = "审批状态描述") + private String checkStatusText; + + /** + * 审批原因 + */ + @Schema(description = "审批原因") + private String checkReason; + + /** + * 部门id + */ + @Schema(description = "部门ID") + private Long deptId; + + /** + * 部门名称 + */ + @Schema(description = "部门名称") + private String deptName; + + /** + * 申请人 + */ + @Schema(description = "申请人ID") + private Long applicantId; + + /** + * 申请人姓名 + */ + @Schema(description = "申请人姓名") + private String applicantName; + + /** + * 会议负责人 + */ + @Schema(description = "会议负责人") + private String assigneeName; + + /** + * 预约日期 + */ + @Schema(description = "预约日期") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private LocalDate bookingDate; + + /** + * 开始时间 + */ + @Schema(description = "开始时间") + @JsonFormat(pattern = "HH:mm", timezone = "GMT+8") + private LocalTime startTime; + + /** + * 结束时间 + */ + @Schema(description = "结束时间") + @JsonFormat(pattern = "HH:mm", timezone = "GMT+8") + private LocalTime endTime; + + /** + * 会议时长(分钟) + */ + @Schema(description = "会议时长(分钟)") + private Integer duration; + + /** + * 是否需要会务服务(0=不需要 1=需要) + */ + @Schema(description = "是否需要会务服务(0=不需要 1=需要)") + private String needService; + + /** + * 是否需要会务服务描述 + */ + @Schema(description = "是否需要会务服务描述") + private String needServiceText; + + /** + * 桌子摆放形态 + */ + @Schema(description = "桌子摆放形态") + private String deskLayout; + + /** + * 桌子摆放形态描述 + */ + @Schema(description = "桌子摆放形态描述") + private String deskLayoutText; + + /** + * 是否确认结束 + */ + @Schema(description = "是否确认结束") + private Integer isConfirmEnd; + + /** + * 流程实例id + */ + @Schema(description = "流程实例ID") + private String processInstanceId; + + /** + * 创建者 + */ + @Schema(description = "创建者") + private String createBy; + + /** + * 创建时间 + */ + @Schema(description = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime createTime; + + /** + * 更新者 + */ + @Schema(description = "更新者") + private String updateBy; + + /** + * 更新时间 + */ + @Schema(description = "更新时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime updateTime; +} diff --git a/pjcloud-integrated/pjcloud-integrated-api/src/main/java/com/bsd/pjcloud/integrated/vo/meeting/app/MeetingBookingListVo.java b/pjcloud-integrated/pjcloud-integrated-api/src/main/java/com/bsd/pjcloud/integrated/vo/meeting/app/MeetingBookingListVo.java new file mode 100644 index 000000000..c0f751102 --- /dev/null +++ b/pjcloud-integrated/pjcloud-integrated-api/src/main/java/com/bsd/pjcloud/integrated/vo/meeting/app/MeetingBookingListVo.java @@ -0,0 +1,157 @@ +package com.bsd.pjcloud.integrated.vo.meeting.app; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; + +/** + * 我的预约列表VO + * + * @author zjf + * @date 2025-01-17 + */ +@Data +@Schema(description = "我的预约列表VO") +public class MeetingBookingListVo { + + /** + * id + */ + @Schema(description = "预约ID") + private Long id; + + /** + * 会议主题 + */ + @Schema(description = "会议主题") + private String title; + + /** + * 会议室id + */ + @Schema(description = "会议室ID") + private Long roomId; + + /** + * 会议室名称 + */ + @Schema(description = "会议室名称") + private String roomName; + + /** + * 会议说明 + */ + @Schema(description = "会议说明") + private String description; + + /** + * 审批状态 + */ + @Schema(description = "审批状态") + private String checkStatus; + + /** + * 审批状态描述 + */ + @Schema(description = "审批状态描述") + private String checkStatusText; + + /** + * 部门id + */ + @Schema(description = "部门ID") + private Long deptId; + + /** + * 部门名称 + */ + @Schema(description = "部门名称") + private String deptName; + + /** + * 申请人 + */ + @Schema(description = "申请人ID") + private Long applicantId; + + /** + * 申请人姓名 + */ + @Schema(description = "申请人姓名") + private String applicantName; + + /** + * 会议负责人 + */ + @Schema(description = "会议负责人") + private String assigneeName; + + /** + * 预约日期 + */ + @Schema(description = "预约日期") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private LocalDate bookingDate; + + /** + * 开始时间 + */ + @Schema(description = "开始时间") + @JsonFormat(pattern = "HH:mm", timezone = "GMT+8") + private LocalTime startTime; + + /** + * 结束时间 + */ + @Schema(description = "结束时间") + @JsonFormat(pattern = "HH:mm", timezone = "GMT+8") + private LocalTime endTime; + + /** + * 会议时长(分钟) + */ + @Schema(description = "会议时长(分钟)") + private Integer duration; + + /** + * 是否需要会务服务(0=不需要 1=需要) + */ + @Schema(description = "是否需要会务服务(0=不需要 1=需要)") + private String needService; + + /** + * 桌子摆放形态 + */ + @Schema(description = "桌子摆放形态") + private String deskLayout; + + /** + * 审批原因 + */ + @Schema(description = "审批原因") + private String checkReason; + + /** + * 是否确认结束 + */ + @Schema(description = "是否确认结束") + private Integer isConfirmEnd; + + /** + * 创建时间 + */ + @Schema(description = "创建时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime createTime; + + /** + * 更新时间 + */ + @Schema(description = "更新时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime updateTime; +}