⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 maction.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
字号:
package cn.hope.front.pojo;

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


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

    /** identifier field */
    private Integer actionId;

    /** persistent field */
    private String action;

    /** persistent field */
    private String flag;

    /** persistent field */
    private int level;

    /** persistent field */
    private int log;

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

    /** full constructor */
    public MAction(String action, String flag, int level, int log, cn.hope.front.pojo.MSubfun MSubfun) {
        this.action = action;
        this.flag = flag;
        this.level = level;
        this.log = log;
        this.MSubfun = MSubfun;
    }

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

    /** minimal constructor */
    public MAction(String action, String flag, int level, int log) {
        this.action = action;
        this.flag = flag;
        this.level = level;
        this.log = log;
    }

    public Integer getActionId() {
        return this.actionId;
    }

    public void setActionId(Integer actionId) {
        this.actionId = actionId;
    }

    public String getAction() {
        return this.action;
    }

    public void setAction(String action) {
        this.action = action;
    }

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

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

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

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

    public int getLog() {
        return this.log;
    }

    public void setLog(int log) {
        this.log = log;
    }

    public cn.hope.front.pojo.MSubfun getMSubfun() {
        return this.MSubfun;
    }

    public void setMSubfun(cn.hope.front.pojo.MSubfun MSubfun) {
        this.MSubfun = MSubfun;
    }

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

}

⌨️ 快捷键说明

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