package com.inspect.metadata.statis.domain;

import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BasedataStatisNvr extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long statisNvrId;
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @Excel(
            name = "统计日期",
            width = 30.0D,
            dateFormat = "yyyy-MM-dd"
    )
    private Date statisDay;
    @Excel(
            name = "台账ID"
    )
    private Long eqpBookId;
    @Excel(
            name = "设备名称"
    )
    private String patrolDeviceCode;
    @Excel(
            name = "设备名称"
    )
    private String patrolDeviceName;
    @Excel(
            name = "录像时长"
    )
    private String duration;
    @Excel(
            name = "录像周期"
    )
    private Long cycle;
    @Excel(
            name = "录像完整性"
    )
    private String complete;
    @Excel(
            name = "总容量"
    )
    private String allCapacity;
    @Excel(
            name = "已用容量"
    )
    private String useCapacity;
    @Excel(
            name = "已用百分比"
    )
    private String usePercentage;
    @Excel(
            name = "设备异常"
    )
    private String hvmAbn;
    @Excel(
            name = "设备故障"
    )
    private String hvmFault;
    @Excel(
            name = "设备高温告警"
    )
    private String hvmHighTempAlm;
    @Excel(
            name = "设备低温告警"
    )
    private String hvmLowTempAlm;
    @Excel(
            name = "风扇故障"
    )
    private String hvmFanFault;
    @Excel(
            name = "磁盘读写出错"
    )
    private String hvmDiskReadErr;
    @Excel(
            name = "磁盘满"
    )
    private String hvmDiskFull;
    @Excel(
            name = "视频信号异常"
    )
    private String hvmVideoSigAbn;
    @Excel(
            name = "磁盘未格式化"
    )
    private String hvmDiskUnformat;
    @Excel(
            name = "非法访问"
    )
    private String hvmIllegalAccess;
    @Excel(
            name = "制式不匹配"
    )
    private String hvmFmtUnmatched;
    @Excel(
            name = "录像异常"
    )
    private String hvmPicRecAbn;
    @Excel(
            name = "删除标志，0：正常；2：删除"
    )
    private String deleteFlag;

    @Override
    public String toString() {
        return "BasedataStatisNvr{" +
                "statisNvrId=" + statisNvrId +
                ", statisDay=" + statisDay +
                ", eqpBookId=" + eqpBookId +
                ", patrolDeviceCode='" + patrolDeviceCode + '\'' +
                ", patrolDeviceName='" + patrolDeviceName + '\'' +
                ", duration='" + duration + '\'' +
                ", cycle=" + cycle +
                ", complete='" + complete + '\'' +
                ", allCapacity='" + allCapacity + '\'' +
                ", useCapacity='" + useCapacity + '\'' +
                ", usePercentage='" + usePercentage + '\'' +
                ", hvmAbn='" + hvmAbn + '\'' +
                ", hvmFault='" + hvmFault + '\'' +
                ", hvmHighTmpAlm='" + hvmHighTempAlm + '\'' +
                ", hvmLowTmpAlm='" + hvmLowTempAlm + '\'' +
                ", hvmFanFault='" + hvmFanFault + '\'' +
                ", hvmDiskReadErr='" + hvmDiskReadErr + '\'' +
                ", hvmDiskFull='" + hvmDiskFull + '\'' +
                ", hvmVideoSigAbn='" + hvmVideoSigAbn + '\'' +
                ", hvmDiskUnFmt='" + hvmDiskUnformat + '\'' +
                ", hvmIllegalAccess='" + hvmIllegalAccess + '\'' +
                ", hvmFmtUnmatched='" + hvmFmtUnmatched + '\'' +
                ", hvmPictRecAbn='" + hvmPicRecAbn + '\'' +
                ", deleteFlag='" + deleteFlag + '\'' +
                '}';
    }
}
