msubfun.java

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

JAVA
118
字号
package cn.hope.front.pojo;

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


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

    /** identifier field */
    private Integer subId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private String level;

    /** persistent field */
    private String msName;

    /** nullable persistent field */
    private cn.hope.front.pojo.MMainfun MMainfun;

    /** persistent field */
    private Set MActions;

    /** persistent field */
    private Set MGpowers;

    /** full constructor */
    public MSubfun(String flag, String level, String msName, cn.hope.front.pojo.MMainfun MMainfun, Set MActions, Set MGpowers) {
        this.flag = flag;
        this.level = level;
        this.msName = msName;
        this.MMainfun = MMainfun;
        this.MActions = MActions;
        this.MGpowers = MGpowers;
    }

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

    /** minimal constructor */
    public MSubfun(String flag, String level, String msName, Set MActions, Set MGpowers) {
        this.flag = flag;
        this.level = level;
        this.msName = msName;
        this.MActions = MActions;
        this.MGpowers = MGpowers;
    }

    public Integer getSubId() {
        return this.subId;
    }

    public void setSubId(Integer subId) {
        this.subId = subId;
    }

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

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

    public String getLevel() {
        return this.level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getMsName() {
        return this.msName;
    }

    public void setMsName(String msName) {
        this.msName = msName;
    }

    public cn.hope.front.pojo.MMainfun getMMainfun() {
        return this.MMainfun;
    }

    public void setMMainfun(cn.hope.front.pojo.MMainfun MMainfun) {
        this.MMainfun = MMainfun;
    }

    public Set getMActions() {
        return this.MActions;
    }

    public void setMActions(Set MActions) {
        this.MActions = MActions;
    }

    public Set getMGpowers() {
        return this.MGpowers;
    }

    public void setMGpowers(Set MGpowers) {
        this.MGpowers = MGpowers;
    }

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

}

⌨️ 快捷键说明

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