package com.ycl.platform.domain.query;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
import com.ycl.platform.base.AbsQuery;
|
import io.swagger.annotations.ApiModel;
|
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotNull;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
@Data
|
@Accessors(chain = true)
|
@ApiModel(value = "规则模板查询", description = "规则模板查询")
|
public class CheckTemplateQuery extends AbsQuery {
|
/** */
|
private Integer id;
|
|
/** 模板名称 */
|
@NotBlank(message = "模板名不能为空")
|
private String templateName;
|
|
/** 调整系数 */
|
private String adjustCoefficient;
|
|
/** 调整方式:乘除 */
|
private String adjustWay;
|
|
/** 考核标签(0/1 省厅/市局)*/
|
@NotNull(message = "考核标签不能为空")
|
private Short examineTag;
|
|
/** 考核类型 */
|
@NotNull(message = "考核类型不能为空")
|
private Short examineCategory;
|
|
/** 定时任务id*/
|
private Integer jobId;
|
|
/** 启用/停用 */
|
@NotBlank(message = "启用状态不能为空")
|
private String status;
|
|
/** 区县 */
|
private List<Integer> deptId;
|
|
/** 创建人id */
|
private Long createUser;
|
|
/** 创建人姓名 */
|
private String createUserName;
|
|
/** */
|
private Long updateUser;
|
|
/** */
|
private String updateUserName;
|
|
/** 逻辑删除 */
|
private Integer deleted;
|
|
|
/** 创建者 */
|
private String createBy;
|
|
/** 创建时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/** 更新者 */
|
@TableField(fill = FieldFill.UPDATE)
|
private String updateBy;
|
|
/** 更新时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.UPDATE)
|
private Date updateTime;
|
|
/** 报警分数 */
|
private String alarmScore;
|
/** 考核频率 */
|
@NotNull(message = "考核频率不能为空")
|
private Short frequency;
|
/** 考核描述 */
|
private String description;
|
|
/** 考核规则 */
|
private List<Map<String,Object>> ruleFormList;
|
}
|