news.java
来自「本项目在前台提供新闻页面浏览。使用了struts、hibernate、sprin」· Java 代码 · 共 65 行
JAVA
65 行
package org.imm.model;
public class News implements java.io.Serializable {
// Fields
private Integer newid;
private String title;
private String content;
// Constructors
/** default constructor */
public News() {
}
/** full constructor */
public News(String title, String content) {
this.title = title;
this.content = content;
}
// Property accessors
public Integer getNewid() {
return this.newid;
}
public void setNewid(Integer newid) {
this.newid = newid;
}
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;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?