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;

@Setter
@Getter
public class PatrolLinkageMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long linkageMessageId;
    @Excel(
            name = "报文类型"
    )
    private String type;
    @Excel(
            name = "站序号"
    )
    private Long stationSerialNumber;
    @Excel(
            name = "监控索引号"
    )
    private Long monitorIndex;
    @Excel(
            name = "报文内容"
    )
    private String content;

    @Override
    public String toString() {
        return "PatrolLinkageMessage{" +
                "linkageMessageId=" + linkageMessageId +
                ", type='" + type + '\'' +
                ", stationSerialNumber=" + stationSerialNumber +
                ", monitorIndex=" + monitorIndex +
                ", content='" + content + '\'' +
                '}';
    }
}
