package com.zjty.inspect.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 规则与报告中间表
 * @author Mcj
 * @date 2020-02-26 14:57
 */
@ApiModel(value = "规则与报告中间表")
@Data
public class Warn {

    /**
     * 发现问题的文件地址
     */
    private String filePath;

    /**
     * 匹配行数
     */
    @ApiModelProperty(value = "权限",example = "1")
    private Integer lineNum;

    /**
     * 适配技术id
     */
    private String technologyId;

    /**
     * 适配技术名称
     */
    private String technologyName;

    /**
     * 关键字id
     */
    private String ruleId;

    /**
     * 关键字
     */
    private String rule;

    private String categoryId;
}
