会议相关
This commit is contained in:
+12
-4
@@ -1,7 +1,10 @@
|
||||
package com.ruoyi.wisdomarbitrate.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author wangqiong
|
||||
* @description 预定会议
|
||||
@@ -13,7 +16,7 @@ public class ReservedConference {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private String id;
|
||||
private Long id;
|
||||
/**
|
||||
* 案件id
|
||||
*/
|
||||
@@ -25,13 +28,18 @@ public class ReservedConference {
|
||||
/**
|
||||
* 预定会议开始时间
|
||||
*/
|
||||
private String scheduleStartTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date scheduleStartTime;
|
||||
/**
|
||||
* 预定会议结束时间
|
||||
*/
|
||||
private String scheduleEndTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date scheduleEndTime;
|
||||
|
||||
public ReservedConference( Long caseId, String roomId, String scheduleStartTime, String scheduleEndTime) {
|
||||
public ReservedConference() {
|
||||
}
|
||||
|
||||
public ReservedConference(Long caseId, String roomId, Date scheduleStartTime, Date scheduleEndTime) {
|
||||
this.caseId = caseId;
|
||||
this.roomId = roomId;
|
||||
this.scheduleStartTime = scheduleStartTime;
|
||||
|
||||
+6
-8
@@ -1,9 +1,11 @@
|
||||
package com.ruoyi.wisdomarbitrate.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author wangqiong
|
||||
@@ -22,16 +24,12 @@ public class ReservedConferenceVO {
|
||||
*/
|
||||
@NotEmpty(message = "房主id不能为空")
|
||||
private String roomId;
|
||||
/**
|
||||
* 会议开始时间
|
||||
*/
|
||||
@NotNull(message = "会议开始时间不能为空")
|
||||
private Integer scheduleStartTime;
|
||||
/**
|
||||
* 会议结束时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date scheduleStartTime;
|
||||
@NotNull(message = "会议结束时间不能为空")
|
||||
private Integer scheduleEndTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date scheduleEndTime;
|
||||
@NotNull(message = "案件id不能为空")
|
||||
private Long caseId;
|
||||
}
|
||||
|
||||
+6
-1
@@ -1,10 +1,12 @@
|
||||
package com.ruoyi.wisdomarbitrate.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author wangqiong
|
||||
@@ -18,7 +20,10 @@ public class SendRoomNoMessageVO implements Serializable {
|
||||
private Long id;
|
||||
@NotEmpty(message = "房间号不能为空")
|
||||
private String roomNo;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date scheduleStartTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date scheduleEndTime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user