package com.inspect.metadata.prodevmnt.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.TreeEntity;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BasedataDeviceTypeEx extends TreeEntity {
    private static final long serialVersionUID = 1L;
    private Long devicetypeId;
    @Excel(
            name = "祖级路径"
    )
    private String ancestorsAddr;
    @Excel(
            name = "电力主设备标识"
    )
    private String powerMainEquFlag;
    private String devicetypeName;
    private String ancestors;
    @Excel(
            name = "设备编码"
    )
    private String devicetypeCode;
    @Excel(
            name = "相数"
    )
    private String phaseNum;
    @Excel(
            name = "相别"
    )
    private String phase;
    private String status;
    private String delFlag;
    @Excel(
            name = "专业类型"
    )
    private String professionType;
    private int level;

    @Override
    public String toString() {
        return "BasedataDeviceTypeEx{" +
                "devicetypeId=" + devicetypeId +
                ", ancestorsAddr='" + ancestorsAddr + '\'' +
                ", powerMainEquFlag='" + powerMainEquFlag + '\'' +
                ", devicetypeName='" + devicetypeName + '\'' +
                ", ancestors='" + ancestors + '\'' +
                ", devicetypeCode='" + devicetypeCode + '\'' +
                ", phaseNum='" + phaseNum + '\'' +
                ", phase='" + phase + '\'' +
                ", status='" + status + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", professionType='" + professionType + '\'' +
                ", level=" + level +
                '}';
    }
}
