package com.inspect.partrolresult.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 PatrolPresetPosModule extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long presetPosId;
    @Excel(
            name = "预置位编码"
    )
    private String presetPosCode;
    @Excel(
            name = "预置位名称"
    )
    private String presetPosName;
    @Excel(
            name = "设备台账ID"
    )
    private Long eqpBookId;
    @Excel(
            name = "设备编号"
    )
    private String patrolDeviceCode;
    @Excel(
            name = "巡检点位"
    )
    private Long patrolPointId;
    @Excel(
            name = "通道ID"
    )
    private Long channelId;
    @Excel(
            name = "通道编码"
    )
    private String channelCode;
    @Excel(
            name = "通道类型vl可见光，ir红外"
    )
    private String channelType;
    @Excel(
            name = "坐标类型(不重要)"
    )
    private String coordinateType;
    @Excel(
            name = "停留时间"
    )
    private Long stopTime;
    @Excel(
            name = "通道快照",
            readConverterExp = "一=张"
    )
    private String channelImg;
    @Excel(
            name = "描述"
    )
    private String description;
    @Excel(
            name = "算法标识"
    )
    private String algSubtypeCode;
    @Excel(
            name = "是否有效 <1>: = 是, <2>: = 否"
    )
    private String isEnable;
    private String algName;

    public String toString() {
        return (new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)).append("presetPosId", this.getPresetPosId()).append("presetPosCode", this.getPresetPosCode()).append("presetPosName", this.getPresetPosName()).append("eqpbookId", this.getEqpBookId()).append("patroldeviceCode", this.getPatrolDeviceCode()).append("patrolpointId", this.getPatrolPointId()).append("channelId", this.getChannelId()).append("channelCode", this.getChannelCode()).append("channelType", this.getChannelType()).append("coordinateType", this.getCoordinateType()).append("stopTime", this.getStopTime()).append("channelImg", this.getChannelImg()).append("description", this.getDescription()).append("algSubtypeCode", this.getAlgSubtypeCode()).append("isEnable", this.getIsEnable()).append("createTime", this.getCreateTime()).toString();
    }
}
