| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 | 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 String code;    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();    }    /**     * 获取节点编号     *     * @return code - 节点编号     */    public String getCode() {        return code;    }    /**     * 设置节点编号     *     * @param code 节点编号     */    public void setCode(String code) {        this.code = code == null ? null : code.trim();    }}
 |