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 */ @Id private Integer id; /** * 节点名称 */ private String name; /** * x */ private String x; /** * y */ private String y; /** * z */ private String z; /** * 描述 */ @Column(name = "n_desc") private String nDesc; /** * 节点类型 */ private String ntype; /** * 节点编号 */ private String code; private static final long serialVersionUID = 1L; /** * 获取节点ID * * @return id - 节点ID */ public Integer getId() { return id; } /** * 设置节点ID * * @param id 节点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(); } /** * 获取x * * @return x - x */ public String getX() { return x; } /** * 设置x * * @param x x */ public void setX(String x) { this.x = x == null ? null : x.trim(); } /** * 获取y * * @return y - y */ public String getY() { return y; } /** * 设置y * * @param y y */ public void setY(String y) { this.y = y == null ? null : y.trim(); } /** * 获取z * * @return z - z */ public String getZ() { return z; } /** * 设置z * * @param z 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(); } /** * 获取节点编号 * * @return code - 节点编号 */ public String getCode() { return code; } /** * 设置节点编号 * * @param code 节点编号 */ public void setCode(String code) { this.code = code == null ? null : code.trim(); } }