package com.inspect.alarmdefect.domain;

import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Setter
@Getter
public class AlarmDefect extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long lineId;
    @Excel(
            name = "告警主表id"
    )
    private String alarmId;
    @Excel(
            name = "缺陷类型标识"
    )
    private String type;
    @Excel(
            name = "缺陷区域左上角 X 坐标"
    )
    private String x1;
    @Excel(
            name = "缺陷区域左上角 Y 坐标"
    )
    private String y1;
    @Excel(
            name = "缺陷区域右下角 X 坐标"
    )
    private String x2;
    @Excel(
            name = "缺陷区域右下角 Y 坐标"
    )
    private String y2;
    @Excel(
            name = "置信度百分比"
    )
    private String confidence;
    @Excel(
            name = "告警内容完整描述文本"
    )
    private String desc;

    @Override
    public String toString() {
        return "AlarmDefect{" +
                "lineId=" + lineId +
                ", alarmId='" + alarmId + '\'' +
                ", type='" + type + '\'' +
                ", x1='" + x1 + '\'' +
                ", y1='" + y1 + '\'' +
                ", x2='" + x2 + '\'' +
                ", y2='" + y2 + '\'' +
                ", confidence='" + confidence + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
