srt_cloud/srt-cloud-data-governance/src/main/java/net/srt/vo/QualityConfigVo.java

82 lines
2.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package net.srt.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.srt.api.module.data.governance.dto.quality.QualityConfigParam;
import net.srt.framework.common.utils.DateUtils;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* @BelongsProject: srt_cloud
* @BelongsPackage: net.srt.vo
* @Author: jpz
* @CreateTime: 2023/12/24 19:35
*/
@Data
@Schema(description = "数据治理-质量规则配置")
public class QualityConfigVo implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "自增id")
private Long id;
private Long categoryId;
@Schema(description = "名称")
private String name;
@Schema(description = "规则id")
private Integer ruleId;
@Schema(description = "个性化参数json")
private QualityConfigParam param;
@Schema(description = "当选择的规则类型为关联一致性的时候,返回此字段(前台用)")
private String relMetadataStr;
@Schema(description = "元数据字段列表")
private List<Integer> metadataIds;
@Schema(description = "检测的元数据字段信息字符串(前台用)")
private String metadataStrs;
@Schema(description = "状态1-启用0-关闭")
private Integer status;
@Schema(description = "任务类型1-一次性任务2-周期任务")
private Integer taskType;
@Schema(description = "cron表达式")
private String cron;
@Schema(description = "备注")
private String note;
@Schema(description = "项目id")
private Long projectId;
@Schema(description = "版本号")
private Integer version;
@Schema(description = "删除标识 0正常 1已删除")
private Integer deleted;
@Schema(description = "创建者")
private Long creator;
@Schema(description = "创建时间")
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createTime;
@Schema(description = "更新者")
private Long updater;
@Schema(description = "更新时间")
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date updateTime;
}