📄 news.java
字号:
package news.wzt.vo;
/**
* News generated by MyEclipse - Hibernate Tools
*/
@SuppressWarnings("serial")
public class News implements java.io.Serializable {
// Fields
private String newsid;
private String title;
private String picture;
private String content;
// Constructors
/** default constructor */
public News() {
}
/** minimal constructor */
public News(String newsid, String title, String content) {
this.newsid = newsid;
this.title = title;
this.content = content;
}
/** full constructor */
public News(String newsid, String title, String picture, String content) {
this.newsid = newsid;
this.title = title;
this.picture = picture;
this.content = content;
}
// Property accessors
public String getNewsid() {
return this.newsid;
}
public void setNewsid(String newsid) {
this.newsid = newsid;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getPicture() {
return this.picture;
}
public void setPicture(String picture) {
this.picture = picture;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -