|
|
@@ -1,6 +1,10 @@
|
|
|
package com.xunmei.core.access.dto;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.xunmei.common.core.domain.retrieval.domain.CoreMonitoringRetrievalTask;
|
|
|
+import com.xunmei.common.core.web.domain.PageRequest;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
@@ -11,7 +15,94 @@ import java.util.Date;
|
|
|
* @date : 2023/8/28
|
|
|
*/
|
|
|
@Data
|
|
|
-public class CoreMonitoringTaskRegistrationDTO extends CoreMonitoringRetrievalTask {
|
|
|
+public class CoreMonitoringTaskRegistrationDTO extends PageRequest {
|
|
|
@ApiModelProperty(value = "月份")
|
|
|
private Date moth;
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /** 计划id */
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long planId;
|
|
|
+
|
|
|
+ /** 任务名称 */
|
|
|
+ @ApiModelProperty(value = "任务名称")
|
|
|
+ private String taskName;
|
|
|
+
|
|
|
+ /** 调阅机构 */
|
|
|
+ private String orgPath;
|
|
|
+
|
|
|
+ /** 调阅机构 */
|
|
|
+ @ApiModelProperty(value = "调阅机构")
|
|
|
+ private String orgName;
|
|
|
+
|
|
|
+ /** 年月日 */
|
|
|
+ private Date ymdDate;
|
|
|
+
|
|
|
+ /** 年 */
|
|
|
+ private Integer ymdYear;
|
|
|
+
|
|
|
+ /** 半年 */
|
|
|
+ private Integer ymdHalfyear;
|
|
|
+
|
|
|
+ /** 季度 */
|
|
|
+ private Integer ymdQuarter;
|
|
|
+
|
|
|
+ /** 月 */
|
|
|
+ private Integer ymdMonth;
|
|
|
+
|
|
|
+ /** 周 */
|
|
|
+ private Integer ymdWeek;
|
|
|
+
|
|
|
+ /** 日 */
|
|
|
+ private Integer ymdDay;
|
|
|
+
|
|
|
+ /** 周期无周期、每日、每周、每月、每季度、每半年、每年(0-6) */
|
|
|
+ private String cycle;
|
|
|
+
|
|
|
+ /** 开始时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "开始时间")
|
|
|
+ private Date planStartTime;
|
|
|
+
|
|
|
+ /** 结束时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "结束时间")
|
|
|
+ private Date planEndTime;
|
|
|
+
|
|
|
+ /** 调阅开始时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "调阅开始时间")
|
|
|
+ private Date startTime;
|
|
|
+
|
|
|
+ /** 调阅结束时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @ApiModelProperty(value = "调阅结束时间")
|
|
|
+ private Date endTime;
|
|
|
+
|
|
|
+ /** 状态 */
|
|
|
+ @ApiModelProperty(value = "状态")
|
|
|
+ private String status;
|
|
|
+
|
|
|
+ /** 角色id */
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long roleId;
|
|
|
+
|
|
|
+ /** 调阅人 */
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long retrievalUser;
|
|
|
+
|
|
|
+ /** 第几次调阅(根据计划的频次计算的来) */
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Integer orderNum;
|
|
|
+
|
|
|
+ /** 批次号(同一计划多频次为一个批次号) */
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long batchNum;
|
|
|
+
|
|
|
+ /** 提交时间 */
|
|
|
+ private Date submitTime;
|
|
|
+
|
|
|
+ /** 异常数 */
|
|
|
+ @ApiModelProperty(value = "异常数")
|
|
|
+ private Integer exceptionCount;
|
|
|
}
|