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

📄 mnounce.java

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

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


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

    /** identifier field */
    private Integer NId;

    /** persistent field */
    private String flag;

    /** persistent field */
    private String NContent;

    /** persistent field */
    private Date NTime;

    /** persistent field */
    private String NTitle;

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

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

    /** full constructor */
    public MNounce(String flag, String NContent, Date NTime, String NTitle, cn.hope.front.pojo.MNtype MNtype, cn.hope.front.pojo.TInfo TInfo) {
        this.flag = flag;
        this.NContent = NContent;
        this.NTime = NTime;
        this.NTitle = NTitle;
        this.MNtype = MNtype;
        this.TInfo = TInfo;
    }

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

    /** minimal constructor */
    public MNounce(String flag, String NContent, Date NTime, String NTitle) {
        this.flag = flag;
        this.NContent = NContent;
        this.NTime = NTime;
        this.NTitle = NTitle;
    }

    public Integer getNId() {
        return this.NId;
    }

    public void setNId(Integer NId) {
        this.NId = NId;
    }

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

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

    public String getNContent() {
        return this.NContent;
    }

    public void setNContent(String NContent) {
        this.NContent = NContent;
    }

    public Date getNTime() {
        return this.NTime;
    }

    public void setNTime(Date NTime) {
        this.NTime = NTime;
    }

    public String getNTitle() {
        return this.NTitle;
    }

    public void setNTitle(String NTitle) {
        this.NTitle = NTitle;
    }

    public cn.hope.front.pojo.MNtype getMNtype() {
        return this.MNtype;
    }

    public void setMNtype(cn.hope.front.pojo.MNtype MNtype) {
        this.MNtype = MNtype;
    }

    public cn.hope.front.pojo.TInfo getTInfo() {
        return this.TInfo;
    }

    public void setTInfo(cn.hope.front.pojo.TInfo TInfo) {
        this.TInfo = TInfo;
    }

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

}

⌨️ 快捷键说明

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