newstype.java
来自「struts hibernate spring实现新闻发布系统含说明文档」· Java 代码 · 共 61 行
JAVA
61 行
package com.ata.wx.java01b.dao;
import java.util.HashSet;
import java.util.Set;
/**
* Newstype generated by MyEclipse Persistence Tools
*/
public class Newstype implements java.io.Serializable {
// Fields
private String newstypeid;
private String newstype;
private Set<News> newses = new HashSet(0);
// Constructors
/** default constructor */
public Newstype() {
}
/** minimal constructor */
public Newstype(String newstype) {
this.newstype = newstype;
}
/** full constructor */
public Newstype(String newstype, Set<News> newses) {
this.newstype = newstype;
this.newses = newses;
}
// Property accessors
public String getNewstypeid() {
return this.newstypeid;
}
public void setNewstypeid(String newstypeid) {
this.newstypeid = newstypeid;
}
public String getNewstype() {
return this.newstype;
}
public void setNewstype(String newstype) {
this.newstype = newstype;
}
public Set<News> getNewses() {
return this.newses;
}
public void setNewses(Set<News> newses) {
this.newses = newses;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?