package com.miniframe.model.system; import com.miniframe.system.MiniserviceBaseModel; import java.io.Serializable; import javax.persistence.*; @Table(name = "d_node") public class DNode extends MiniserviceBaseModel implements Serializable { @Id private Integer id; private String name; private String x; private String y; private String z; @Column(name = "n_desc") private String nDesc; /** * 节点类型 */ private String ntype; private static final long serialVersionUID = 1L; /** * @return id */ public Integer getId() { return id; } /** * @param id */ public void setId(Integer id) { this.id = id; } /** * @return name */ public String getName() { return name; } /** * @param name */ public void setName(String name) { this.name = name == null ? null : name.trim(); } /** * @return x */ public String getX() { return x; } /** * @param x */ public void setX(String x) { this.x = x == null ? null : x.trim(); } /** * @return y */ public String getY() { return y; } /** * @param y */ public void setY(String y) { this.y = y == null ? null : y.trim(); } /** * @return z */ public String getZ() { return z; } /** * @param z */ public void setZ(String z) { this.z = z == null ? null : z.trim(); } /** * @return n_desc */ public String getnDesc() { return nDesc; } /** * @param nDesc */ public void setnDesc(String nDesc) { this.nDesc = nDesc == null ? null : nDesc.trim(); } /** * 获取节点类型 * * @return ntype - 节点类型 */ public String getNtype() { return ntype; } /** * 设置节点类型 * * @param ntype 节点类型 */ public void setNtype(String ntype) { this.ntype = ntype == null ? null : ntype.trim(); } }