mntype.java

来自「持久层hibernate技术使用的一个例子」· Java 代码 · 共 73 行

JAVA
73
字号
package cn.hope.mana.pojo;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class MNtype implements Serializable {

    /** identifier field */
    private Integer typeId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private String NType;

    /** persistent field */
    private Set MNounces;

    /** full constructor */
    public MNtype(String flag, String NType, Set MNounces) {
        this.flag = flag;
        this.NType = NType;
        this.MNounces = MNounces;
    }

    /** default constructor */
    public MNtype() {
    }

    public Integer getTypeId() {
        return this.typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getFlag() {
        return this.flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getNType() {
        return this.NType;
    }

    public void setNType(String NType) {
        this.NType = NType;
    }

    public Set getMNounces() {
        return this.MNounces;
    }

    public void setMNounces(Set MNounces) {
        this.MNounces = MNounces;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("typeId", getTypeId())
            .toString();
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?