reply.java
来自「Java项目 新闻管理系统 jsp+struts+hibernate 开发」· Java 代码 · 共 77 行
JAVA
77 行
package com.xdf.news.bean;
/**
* Reply generated by MyEclipse - Hibernate Tools
*/
public class Reply implements java.io.Serializable {
// Fields
private Long replyid;
private News news;
private String name;
private String content;
// Constructors
/** default constructor */
public Reply() {
}
/** full constructor */
public Reply(News news, String name, String content) {
this.news = news;
this.name = name;
this.content = content;
}
// Property accessors
public Long getReplyid() {
return this.replyid;
}
public void setReplyid(Long replyid) {
this.replyid = replyid;
}
public News getNews() {
return this.news;
}
public void setNews(News news) {
this.news = news;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?