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 Float x; private Float y; private Float 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 Float getX() { return x; } /** * @param x */ public void setX(Float x) { this.x = x; } /** * @return y */ public Float getY() { return y; } /** * @param y */ public void setY(Float y) { this.y = y; } /** * @return z */ public Float getZ() { return z; } /** * @param z */ public void setZ(Float z) { this.z = z; } /** * @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(); } }