This commit is contained in:
18792927508
2023-11-23 18:47:16 +08:00
parent d282515d64
commit 217dda4225
13 changed files with 205 additions and 230 deletions
@@ -17,6 +17,10 @@ public class ReservedConference {
* id
*/
private Long id;
/**
* 用户id
*/
private Long userId;
/**
* 案件id
*/
@@ -24,7 +28,7 @@ public class ReservedConference {
/**
* 房间号
*/
private String roomId;
private long roomId;
/**
* 预定会议开始时间
*/
@@ -35,19 +39,17 @@ public class ReservedConference {
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date scheduleEndTime;
/**
* 会议类型,0-创建会议,1-预约会议
*/
private Integer roomType;
public ReservedConference() {
}
public ReservedConference(Long caseId, String roomId, Date scheduleStartTime, Date scheduleEndTime,Integer roomType) {
public ReservedConference(Long caseId, Long userId, long roomId, Date scheduleStartTime, Date scheduleEndTime) {
this.caseId = caseId;
this.userId = userId;
this.roomId = roomId;
this.scheduleStartTime = scheduleStartTime;
this.scheduleEndTime = scheduleEndTime;
this.roomType = roomType;
}
}
@@ -15,18 +15,18 @@ import java.util.Date;
@Data
public class ReservedConferenceVO {
/**
* 房主id
* 用户id
*/
@NotEmpty(message = "房主id不能为空")
private String ownerId;
/**
* 房间号id
*/
private String roomId;
private Long roomId;
@NotNull(message = "会议开始时间不能为空")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date scheduleStartTime;
@NotNull(message = "会议结束时间不能为空")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date scheduleEndTime;
@NotNull(message = "案件id不能为空")