zxl
3 天以前 3b0516a2959e25576e4f3fda697a3b025d06c8c9
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
@@ -1,150 +1,71 @@
package com.ycl.platform.domain.entity;
import annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.system.entity.BaseEntity;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.util.Date;
/**
 * 考核规则对象 t_check_rule
 *
 *
 * @author ruoyi
 * @date 2024-04-01
 * @date 2024-04-15
 */
public class CheckRule extends BaseEntity
@Data
@TableName("t_check_rule")
public class CheckRule
{
    private static final long serialVersionUID = 1L;
    /**  */
    private Long id;
    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;
    /** 规则细则 */
    @Excel(name = "规则细则")
    private String ruleDetail;
    /** 对应index表字段名 */
    @Excel(name = "对应index表字段名")
    private String ruleIndex;
    /** 规则类型 */
    @Excel(name = "规则类型")
    private Long ruleCategory;
    /** 0.视频监控;1.车辆识别;2.人员识 */
    @Excel(name = "0.视频监控;1.车辆识别;2.人员识")
    private Short ruleCategory;
    /** 考核类型 */
    @Excel(name = "考核类型")
    private Long examineCategory;
    /** 可配置的规则参数json */
    @Excel(name = "可配置的规则参数json")
    private String ruleCondition;
    /** 规则描述 */
    @Excel(name = "规则描述")
    private String ruleDescription;
    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long auditState;
    /** 启用状态 */
    @Excel(name = "启用状态")
    private Long state;
    /** 0/1 启用/停用 */
    @Excel(name = "0/1 启用/停用")
    private Short state;
    /** 逻辑删除 */
    private String deleted;
    @Excel(name = "逻辑删除")
    private Integer deleted;
    public void setId(Long id)
    {
        this.id = id;
    }
    /** 图标 */
    @Excel(name = "icon")
    private String icon;
    public Long getId()
    {
        return id;
    }
    public void setRuleName(String ruleName)
    {
        this.ruleName = ruleName;
    }
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    public String getRuleName()
    {
        return ruleName;
    }
    public void setRuleDetail(String ruleDetail)
    {
        this.ruleDetail = ruleDetail;
    }
    /** 数据中心对应的接口地址 */
    private String apiUrl;
    public String getRuleDetail()
    {
        return ruleDetail;
    }
    public void setRuleCategory(Long ruleCategory)
    {
        this.ruleCategory = ruleCategory;
    }
    /** 排序值 */
    private Integer orderNum;
    public Long getRuleCategory()
    {
        return ruleCategory;
    }
    public void setExamineCategory(Long examineCategory)
    {
        this.examineCategory = examineCategory;
    }
    public Long getExamineCategory()
    {
        return examineCategory;
    }
    public void setRuleDescription(String ruleDescription)
    {
        this.ruleDescription = ruleDescription;
    }
    public String getRuleDescription()
    {
        return ruleDescription;
    }
    public void setAuditState(Long auditState)
    {
        this.auditState = auditState;
    }
    public Long getAuditState()
    {
        return auditState;
    }
    public void setState(Long state)
    {
        this.state = state;
    }
    public Long getState()
    {
        return state;
    }
    public void setDeleted(String deleted)
    {
        this.deleted = deleted;
    }
    public String getDeleted()
    {
        return deleted;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleName", getRuleName())
            .append("ruleDetail", getRuleDetail())
            .append("ruleCategory", getRuleCategory())
            .append("examineCategory", getExamineCategory())
            .append("ruleDescription", getRuleDescription())
            .append("auditState", getAuditState())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}