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

📄 message.java

📁 使用java开发的简易论坛
💻 JAVA
字号:
package mokoda.entity;

import org.hibernate.Query;
import org.hibernate.Session;



/**
 * Message generated by MyEclipse - Hibernate Tools
 */

public class Message  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String title;
     private String content;
     private String istpc;
     private Integer tpcid;


    // Constructors

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

	/** minimal constructor */
    public Message(String title, String istpc, Integer tpcid) {
        this.title = title;
        this.istpc = istpc;
        this.tpcid = tpcid;
    }
    
    /** full constructor */
    public Message(String title, String content, String istpc, Integer tpcid) {
        this.title = title;
        this.content = content;
        this.istpc = istpc;
        this.tpcid = tpcid;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public String getIstpc() {
        return this.istpc;
    }
    
    public void setIstpc(String istpc) {
        this.istpc = istpc;
    }

    public Integer getTpcid() {
        return this.tpcid;
    }
    
    public void setTpcid(Integer tpcid) {
        this.tpcid = tpcid;
    }







}

⌨️ 快捷键说明

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