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 BasedataStatisRobotUavOnlineDay extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long statId;
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @Excel(
            name = "日期",
            width = 30.0D,
            dateFormat = "yyyy-MM-dd"
    )
    private Date day;
    @Excel(
            name = "巡检设备编码"
    )
    private String patrolDeviceCode;
    @Excel(
            name = "巡检设备ID"
    )
    private Long eqpBookId;
    @Excel(
            name = "在线累计时长，单位分钟"
    )
    private Long totalOnlineTime;
    @Excel(
            name = "离线次数"
    )
    private Long offlineCount;
    @Excel(
            name = "删除标志，0：正常；2：删除"
    )
    private String deleteFlag;

    @Override
    public String toString() {
        return "BasedataStatisRobotUavOnlineDay{" +
                "statId=" + statId +
                ", day=" + day +
                ", patrolDeviceCode='" + patrolDeviceCode + '\'' +
                ", eqpBookId=" + eqpBookId +
                ", totalOnlineTime=" + totalOnlineTime +
                ", offlineCount=" + offlineCount +
                ", deleteFlag='" + deleteFlag + '\'' +
                '}';
    }
}
