会议接口
This commit is contained in:
1 parent
de0ecc9f59
commit
6ef802ae8c
8 files changed
+238
-8
No files matched your search
+7
@@ -0,0 +1,7 @@
|
||||
package com.bsd.pjcloud.integrated.dto.meeting.app;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MeetingPageDto {
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
package com.bsd.pjcloud.integrated.vo.meeting.app;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Schema(description = "会议室预约请求")
|
||||
public class MeetingBookingReqVo {
|
||||
|
||||
@Schema(description = "会议主题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "会议说明")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "预约日期")
|
||||
@NotNull
|
||||
private String date;
|
||||
|
||||
@Schema(description = "开始时间")
|
||||
@NotNull
|
||||
private String startTime;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
@NotNull
|
||||
private String endTime;
|
||||
|
||||
@Schema(description = "参会人员ID列表")
|
||||
private List<Long> attendees;
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
package com.bsd.pjcloud.integrated.vo.meeting.app;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "会议室时间段")
|
||||
public class TimeSlotVo {
|
||||
|
||||
@Schema(description = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Schema(description = "状态:free-空闲,booked-已预约,disabled-不可用")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "预约人信息")
|
||||
private BookedByVo bookedBy;
|
||||
|
||||
@Data
|
||||
public static class BookedByVo {
|
||||
@Schema(description = "用户ID")
|
||||
private String userId;
|
||||
|
||||
@Schema(description = "用户名称")
|
||||
private String userName;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user