package com.inspect.metadata.patrolpointmnt.domain;

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

import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BasedataPatrolPointPreset extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long patrolPointPresetId;

    @Excel(
            name = "点位id"
    )
    //@JsonProperty("patrolpointId")
    private Long patrolPointId;
    @Excel(
            name = "巡检设备ID"
    )
    //@JsonProperty("eqpbookId")
    private Long eqpBookId;
    @Excel(
            name = "通道编号"
    )
    private Long channelId;
    @Excel(
            name = "预置点编号"
    )
    private String presetCode;
    @Excel(
            name = "预置点名称"
    )
    private String presetName;
    @Excel(
            name = "删除标志，0：正常；2：删除"
    )
    private String deleteFlag;
    @Excel(
            name = "巡视设备编号"
    )
    //@JsonProperty("patroldeviceCode")
    private String patrolDeviceCode;
    @Excel(
            name = "通道编号"
    )
    private String channelCode;
    private String videoNvrCode;
    //@JsonProperty("patroldeviceName")
    private String patrolDeviceName;
    private boolean noVideo;
    private List<String> patrolPointIdList;

    @Override
    public String toString() {
        return "BasedataPatrolPointPreset{" +
                "patrolPointPresetId=" + patrolPointPresetId +
                ", patrolPointId=" + patrolPointId +
                ", eqpBookId=" + eqpBookId +
                ", channelId=" + channelId +
                ", presetCode='" + presetCode + '\'' +
                ", presetName='" + presetName + '\'' +
                ", deleteFlag='" + deleteFlag + '\'' +
                ", patrolDeviceCode='" + patrolDeviceCode + '\'' +
                ", channelCode='" + channelCode + '\'' +
                ", videoNvrCode='" + videoNvrCode + '\'' +
                ", patrolDeviceName='" + patrolDeviceName + '\'' +
                ", noVideo=" + noVideo +
                ", patrolPointIdList=" + patrolPointIdList +
                '}';
    }
}
