145 lines
3.5 KiB
Plaintext
145 lines
3.5 KiB
Plaintext
package com.sercurityControl.proteam.domain;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author bonus
|
|
* @data 2023/5/11 17:20
|
|
* @description 分析任务查询
|
|
*/
|
|
@NoArgsConstructor
|
|
@Data
|
|
public class TasksEntity implements Serializable {
|
|
/**
|
|
* 每页显示条数
|
|
*/
|
|
@JsonProperty("pageSize")
|
|
private String pageSize;
|
|
/**
|
|
* 当前页
|
|
*/
|
|
@JsonProperty("pageNo")
|
|
private String pageNo;
|
|
/**
|
|
* 总数量
|
|
*/
|
|
@JsonProperty("total")
|
|
private String total;
|
|
/**
|
|
* 任务
|
|
*/
|
|
@JsonProperty("tasks")
|
|
private List<TasksDTO> tasks;
|
|
|
|
@NoArgsConstructor
|
|
@Data
|
|
public static class TasksDTO {
|
|
/**
|
|
* 智能分析任务主键
|
|
*/
|
|
@JsonProperty("taskId")
|
|
private String taskId;
|
|
/**
|
|
* 智能分析任务名称
|
|
*/
|
|
@JsonProperty("taskName")
|
|
private String taskName;
|
|
/**
|
|
* 智能分析任务描述
|
|
*/
|
|
@JsonProperty("taskDesc")
|
|
private String taskDesc;
|
|
/**
|
|
* 任务控制状态
|
|
*/
|
|
@JsonProperty("taskControl")
|
|
private String taskControl;
|
|
@JsonProperty("devInfos")
|
|
private List<DevInfosDTO> devInfos;
|
|
/**
|
|
* 任务有效开始时间
|
|
*/
|
|
@JsonProperty("startTime")
|
|
private String startTime;
|
|
/**
|
|
* 任务有效结束时间
|
|
*/
|
|
@JsonProperty("endTime")
|
|
private String endTime;
|
|
/**
|
|
* 任务对应分析算法类型编码
|
|
*/
|
|
@JsonProperty("algCode")
|
|
private String algCode;
|
|
/**
|
|
* 任务对应分析算法类型名称
|
|
*/
|
|
@JsonProperty("algName")
|
|
private String algName;
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
@JsonProperty("createTime")
|
|
private String createTime;
|
|
/**
|
|
* 共计分析次数
|
|
*/
|
|
@JsonProperty("analysisCount")
|
|
private String analysisCount;
|
|
/**
|
|
* 当前运行状态
|
|
*/
|
|
@JsonProperty("currentStatus")
|
|
private String currentStatus;
|
|
@JsonProperty("lastAnalysisTime")
|
|
private String lastAnalysisTime;
|
|
@JsonProperty("algParams")
|
|
private List<AlgParamsDTO> algParams;
|
|
|
|
@NoArgsConstructor
|
|
@Data
|
|
public static class DevInfosDTO {
|
|
/**
|
|
* 分析设备编码
|
|
*/
|
|
@JsonProperty("devCode")
|
|
private String devCode;
|
|
/**
|
|
* 分析设备名称
|
|
*/
|
|
@JsonProperty("devName")
|
|
private String devName;
|
|
/**
|
|
* 分析设备对应预置位索引
|
|
*/
|
|
@JsonProperty("presettingIndex")
|
|
private String presettingIndex;
|
|
/**
|
|
* 分析设备对应预置位名称
|
|
*/
|
|
@JsonProperty("presettingName")
|
|
private String presettingName;
|
|
}
|
|
|
|
@NoArgsConstructor
|
|
@Data
|
|
public static class AlgParamsDTO {
|
|
/**
|
|
* 参数编码
|
|
*/
|
|
@JsonProperty("paramCode")
|
|
private String paramCode;
|
|
/**
|
|
* 参数值
|
|
*/
|
|
@JsonProperty("paramValue")
|
|
private String paramValue;
|
|
}
|
|
}
|
|
}
|