package com.inspect.statistics.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Setter
@Getter
public class StatisticsPatrolResult extends BaseEntity {
    private String deviceIds;
    private Integer lineId;
    @JsonProperty("patroldeviceName")
    private String patrolDeviceName;
    private String patrolDeviceCode;
    private String taskName;
    private String taskCode;
    @Excel(
            name = "设备点位",
            sort = 1
    )
    private String deviceName;
    private String deviceId;
    private String valueType;
    @Excel(
            name = "识别结果",
            sort = 3
    )
    private String value;
    private String valueUnit;
    private String unit;
    @Excel(
            name = "时间",
            sort = 2
    )
    private String time;
    private String recognitionType;
    private String fileType;
    private String filePath;
    private String rectangle;
    private String taskPatrolledId;
    private String valid;
    private String resultId;
    private Date createTime;
    private Date startTime;
    private Date endTime;
    private Integer pageNum;
    private Integer pageSize;
    private Integer warning;
    @Excel(
            name = "审核状态",
            sort = 4,
            readConverterExp = "1=已审核,0=未审核"
    )
    private Integer patrolStatus;
    private String patrolStatusName;
    @Excel(
            name = "审核结果",
            sort = 5
    )
    private String checkResult;
    private String dataType;
    private String productionId;
    private String configCol;
    private String materialId;
    // 单位
    private String purpose;

    private List<String> recognitionTypes;
}
