package edu.gdut.imis.commodity.bean; import java.util.Date; /** * Message entity. @author MyEclipse Persistence Tools */ @SuppressWarnings("serial") public class Message implements java.io.Serializable { // Fields private Integer id; private String title; private Date createdate; private String content; private Date dtime; private String place; private String sponsor; private String byz; // Constructors /** default constructor */ public Message() { } /** full constructor */ public Message(String title, Date createdate, String content, Date dtime, String place, String sponsor, String byz) { this.title = title; this.createdate = createdate; this.content = content; this.dtime = dtime; this.place = place; this.sponsor = sponsor; this.byz = byz; } // Property accessors public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } public Date getCreatedate() { return this.createdate; } public void setCreatedate(Date createdate) { this.createdate = createdate; } public String getContent() { return this.content; } public void setContent(String content) { this.content = content; } public Date getDtime() { return this.dtime; } public void setDtime(Date dtime) { this.dtime = dtime; } public String getPlace() { return this.place; } public void setPlace(String place) { this.place = place; } public String getSponsor() { return this.sponsor; } public void setSponsor(String sponsor) { this.sponsor = sponsor; } public String getByz() { return this.byz; } public void setByz(String byz) { this.byz = byz; } }