www.pudn.com > j2EEnews_struts_hibernate_spring.rar > Newtype.java
package com.news.bean;
/**
* Newtype generated by MyEclipse - Hibernate Tools
*/
public class Newtype implements java.io.Serializable {
// Fields
private String id;
private String newtypetitle;
private String typeauthor;
private String newtypedate;
private String date2;
// Constructors
/** default constructor */
public Newtype() {
}
/** full constructor */
public Newtype(String id, String newtypetitle, String typeauthor, String newtypedate, String date2) {
this.id = id;
this.newtypetitle = newtypetitle;
this.typeauthor = typeauthor;
this.newtypedate = newtypedate;
this.date2 = date2;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getNewtypetitle() {
return this.newtypetitle;
}
public void setNewtypetitle(String newtypetitle) {
this.newtypetitle = newtypetitle;
}
public String getTypeauthor() {
return this.typeauthor;
}
public void setTypeauthor(String typeauthor) {
this.typeauthor = typeauthor;
}
public String getNewtypedate() {
return this.newtypedate;
}
public void setNewtypedate(String newtypedate) {
this.newtypedate = newtypedate;
}
public String getDate2() {
return this.date2;
}
public void setDate2(String date2) {
this.date2 = date2;
}
}