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 PatrolLinkageStrategyReverse extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long linkageStrategyReverseId;
    @Excel(
            name = "${comment}",
            readConverterExp = "$column.readConverterExp()"
    )
    private Long linkageStrategyId;
    @Excel(
            name = "${comment}",
            readConverterExp = "$column.readConverterExp()"
    )
    private Long linkagePosId;
    @Excel(
            name = "遥控、遥信、遥测"
    )
    private String deviceType;
    @Excel(
            name = "控合、控分"
    )
    private String command;
    @Excel(
            name = "是否有效"
    )
    private String isEnable;

    @Override
    public String toString() {
        return "PatrolLinkageStrategyReverse{" +
                "linkageStrategyReverseId=" + linkageStrategyReverseId +
                ", linkageStrategyId=" + linkageStrategyId +
                ", linkagePosId=" + linkagePosId +
                ", deviceType='" + deviceType + '\'' +
                ", command='" + command + '\'' +
                ", isEnable='" + isEnable + '\'' +
                '}';
    }
}
