package com.ruoyi.ems.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huashe.common.domain.BaseEntity;
import lombok.Data;

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

/**
 * 巡检报告明细对象 adm_op_inspection_report_detail
 */
@Data
public class InspectionReportDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String reportCode;
    private String deviceCode;
    private String deviceName;
    private String deviceModel;
    private String deviceModelName;
    private String location;
    private String areaPath;
    /** 结果状态 0:正常 1:异常 */
    private Integer resultStatus;
    /** 检查项结果JSON */
    private String checkItems;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /** 解析后的检查项列表 */
    private List<CheckItemResult> checkItemList;
}