package com.inspect.patrol.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 PatrolVideotape extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long videotapeId;
    @Excel(
            name = "监控ID"
    )
    private Long monitorId;
    @Excel(
            name = "录像时长"
    )
    private String videotapeDuration;
    @Excel(
            name = "缩略图存放地址"
    )
    private String thumbnailUrlPath;
    @Excel(
            name = "录像存放地址"
    )
    private String videotapeUrlPath;
    @Excel(
            name = "录像类型 <1>: = 手动录像, <2>: = 定时录像, <3>: = 告警录像"
    )
    private String videotapeType;
    @Excel(
            name = "设备点位"
    )
    private Long deviceId;
    @Excel(
            name = "告警类型 <1>: = 视频丢失告警录像, <2>: = 移动侦测告警录像, <3>: 视频遮挡告警录像, <4>: = 设备高温告警, <5>: = 设备低温告警, <6>: = 风扇故障告警, <7>: = 磁盘故障告警, <8>: = 状态事件告警, <9>: = 定时录像, <10>: = 用户请求录像"
    )
    private String alertType;

    @Override
    public String toString() {
        return "PatrolVideotape{" +
                "videotapeId=" + videotapeId +
                ", monitorId=" + monitorId +
                ", videotapeDuration='" + videotapeDuration + '\'' +
                ", thumbnailUrlPath='" + thumbnailUrlPath + '\'' +
                ", videotapeUrlPath='" + videotapeUrlPath + '\'' +
                ", videotapeType='" + videotapeType + '\'' +
                ", deviceId=" + deviceId +
                ", alertType='" + alertType + '\'' +
                '}';
    }
}
