会议
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -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不能为空")
|
||||
|
||||
Reference in New Issue
Block a user