|
|
|
@ -1,16 +1,20 @@ |
|
|
|
package com.inspect.metadata.prodevmnt.domain.vo; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty; |
|
|
|
import com.inspect.base.core.annotation.Excel; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
|
|
import lombok.Getter; |
|
|
|
import lombok.Setter; |
|
|
|
|
|
|
|
@Getter |
|
|
|
@Setter |
|
|
|
public class ProDeviceTypeTreeSelectVO { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
private Long parentId; |
|
|
|
private Long devicetypeId; |
|
|
|
private Long deviceTypeId; |
|
|
|
@Excel( |
|
|
|
name = "电力主设备标识-Yes:是;No:否" |
|
|
|
) |
|
|
|
@ -18,11 +22,13 @@ public class ProDeviceTypeTreeSelectVO { |
|
|
|
@Excel( |
|
|
|
name = "设备类型名称" |
|
|
|
) |
|
|
|
private String devicetypeName; |
|
|
|
@JsonProperty("devicetypeName") |
|
|
|
private String deviceTypeName; |
|
|
|
@Excel( |
|
|
|
name = "设备编码" |
|
|
|
) |
|
|
|
private String devicetypeCode; |
|
|
|
@JsonProperty("devicetypeCode") |
|
|
|
private String deviceTypeCode; |
|
|
|
@Excel( |
|
|
|
name = "相数,0:无相;1:单项;3:三项" |
|
|
|
) |
|
|
|
@ -39,89 +45,21 @@ public class ProDeviceTypeTreeSelectVO { |
|
|
|
name = "专业类型" |
|
|
|
) |
|
|
|
private int level; |
|
|
|
private List<ProDeviceTypeTreeSelectVO> children = new ArrayList(); |
|
|
|
|
|
|
|
public int getLevel() { |
|
|
|
return this.level; |
|
|
|
} |
|
|
|
|
|
|
|
public void setLevel(int level) { |
|
|
|
this.level = level; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getParentId() { |
|
|
|
return this.parentId; |
|
|
|
} |
|
|
|
|
|
|
|
public void setParentId(Long parentId) { |
|
|
|
this.parentId = parentId; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getDevicetypeId() { |
|
|
|
return this.devicetypeId; |
|
|
|
} |
|
|
|
|
|
|
|
public void setDevicetypeId(Long devicetypeId) { |
|
|
|
this.devicetypeId = devicetypeId; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPowerMainEquFlag() { |
|
|
|
return this.powerMainEquFlag; |
|
|
|
} |
|
|
|
|
|
|
|
public void setPowerMainEquFlag(String powerMainEquFlag) { |
|
|
|
this.powerMainEquFlag = powerMainEquFlag; |
|
|
|
} |
|
|
|
|
|
|
|
public String getDevicetypeName() { |
|
|
|
return this.devicetypeName; |
|
|
|
} |
|
|
|
|
|
|
|
public void setDevicetypeName(String devicetypeName) { |
|
|
|
this.devicetypeName = devicetypeName; |
|
|
|
} |
|
|
|
|
|
|
|
public String getDevicetypeCode() { |
|
|
|
return this.devicetypeCode; |
|
|
|
} |
|
|
|
|
|
|
|
public void setDevicetypeCode(String devicetypeCode) { |
|
|
|
this.devicetypeCode = devicetypeCode; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPhaseNum() { |
|
|
|
return this.phaseNum; |
|
|
|
} |
|
|
|
|
|
|
|
public void setPhaseNum(String phaseNum) { |
|
|
|
this.phaseNum = phaseNum; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPhase() { |
|
|
|
return this.phase; |
|
|
|
} |
|
|
|
|
|
|
|
public void setPhase(String phase) { |
|
|
|
this.phase = phase; |
|
|
|
} |
|
|
|
|
|
|
|
public String getProfessionType() { |
|
|
|
return this.professionType; |
|
|
|
} |
|
|
|
|
|
|
|
public void setProfessionType(String professionType) { |
|
|
|
this.professionType = professionType; |
|
|
|
} |
|
|
|
|
|
|
|
public List<ProDeviceTypeTreeSelectVO> getChildren() { |
|
|
|
return this.children; |
|
|
|
} |
|
|
|
|
|
|
|
public void setChildren(List<ProDeviceTypeTreeSelectVO> children) { |
|
|
|
this.children = children; |
|
|
|
} |
|
|
|
private List<ProDeviceTypeTreeSelectVO> children = new ArrayList<>(); |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return (new ToStringBuilder(this)).append("parentId", this.parentId).append("devicetypeId", this.devicetypeId).append("powerMainEquFlag", this.powerMainEquFlag).append("devicetypeName", this.devicetypeName).append("devicetypeCode", this.devicetypeCode).append("phaseNum", this.phaseNum).append("phase", this.phase).append("professionType", this.professionType).append("level", this.level).append("children", this.children).toString(); |
|
|
|
return "ProDeviceTypeTreeSelectVO{" + |
|
|
|
"parentId=" + parentId + |
|
|
|
", deviceTypeId=" + deviceTypeId + |
|
|
|
", powerMainEquFlag='" + powerMainEquFlag + '\'' + |
|
|
|
", deviceTypeName='" + deviceTypeName + '\'' + |
|
|
|
", deviceTypeCode='" + deviceTypeCode + '\'' + |
|
|
|
", phaseNum='" + phaseNum + '\'' + |
|
|
|
", phase='" + phase + '\'' + |
|
|
|
", professionType='" + professionType + '\'' + |
|
|
|
", level=" + level + |
|
|
|
", children=" + children + |
|
|
|
'}'; |
|
|
|
} |
|
|
|
} |