| | |
| | | package com.ycl.platform.domain.entity; |
| | | |
| | | import annotation.Excel; |
| | | 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 |
| | | */ |
| | | @Data |
| | | public class CheckRule extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long id; |
| | | |
| | | /** 规则名称 */ |
| | | @Excel(name = "规则名称") |
| | | private String ruleName; |
| | | |
| | | /** 规则细则 */ |
| | | @Excel(name = "规则细则") |
| | | /** 对应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 state; |
| | | /** 0/1 启用/停用 */ |
| | | @Excel(name = "0/1 启用/停用") |
| | | private Short state; |
| | | |
| | | /** 逻辑删除 */ |
| | | @Excel(name = "逻辑删除") |
| | | private String deleted; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setRuleName(String ruleName) |
| | | { |
| | | this.ruleName = ruleName; |
| | | } |
| | | |
| | | public String getRuleName() |
| | | { |
| | | return ruleName; |
| | | } |
| | | public void setRuleIndex(String ruleIndex) |
| | | { |
| | | this.ruleIndex = ruleIndex; |
| | | } |
| | | |
| | | public String getRuleIndex() |
| | | { |
| | | return ruleIndex; |
| | | } |
| | | public void setRuleCategory(Long ruleCategory) |
| | | { |
| | | this.ruleCategory = ruleCategory; |
| | | } |
| | | |
| | | 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 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("ruleIndex", getRuleIndex()) |
| | | .append("ruleCategory", getRuleCategory()) |
| | | .append("examineCategory", getExamineCategory()) |
| | | .append("ruleDescription", getRuleDescription()) |
| | | .append("state", getState()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("deleted", getDeleted()) |
| | | .toString(); |
| | | } |
| | | } |