📄 tsnews.java
字号:
package com.ts.orm;
/**
* TsNews entity.
*
* @author MyEclipse Persistence Tools
*/
public class TsNews implements java.io.Serializable {
// Fields
private Integer newsId;
private Integer newsType;
private String newsTitle;
private String newsContent;
private String status;
// Constructors
/** default constructor */
public TsNews() {
}
/** full constructor */
public TsNews(Integer newsType, String newsTitle, String newsContent,
String status) {
this.newsType = newsType;
this.newsTitle = newsTitle;
this.newsContent = newsContent;
this.status = status;
}
// Property accessors
public Integer getNewsId() {
return this.newsId;
}
public void setNewsId(Integer newsId) {
this.newsId = newsId;
}
public Integer getNewsType() {
return this.newsType;
}
public void setNewsType(Integer newsType) {
this.newsType = newsType;
}
public String getNewsTitle() {
return this.newsTitle;
}
public void setNewsTitle(String newsTitle) {
this.newsTitle = newsTitle;
}
public String getNewsContent() {
return this.newsContent;
}
public void setNewsContent(String newsContent) {
this.newsContent = newsContent;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -