package model; import java.sql.Timestamp; import java.util.Date; /** * TGoods entity. @author MyEclipse Persistence Tools */ public class Goods implements java.io.Serializable { // Fields private Integer id; private User user; private Classify classify; private String goodsdescribe; private String goodsname; private Integer goodsstatus;//区分招领和寻物 private Date goodstime;//什么时候捡到的、丢的 private String area; private String contact;//联系人姓名 private String qq; private String picture; private Date createTime; private Integer creatorId;//发布者id private Integer classifyId;//分类id // Constructors /** default constructor */ public Goods() { } /** minimal constructor */ /*public Goods(Integer id, User TUser, Integer goodsstatus) { this.id = id; this.User = TUser; this.goodsstatus = goodsstatus; } /** full constructor */ /*public Goods(Integer id, User TUser, Classify TClassify, String goodsdescribe, String goodsname, Integer goodsstatus, Timestamp goodstime, String area, String contact, String qq) { this.id = id; this.TUser = TUser; this.TClassify = TClassify; this.goodsdescribe = goodsdescribe; this.goodsname = goodsname; this.goodsstatus = goodsstatus; this.goodstime = goodstime; this.area = area; this.contact = contact; this.qq = qq; }*/ // Property accessors public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getPicture() { return picture; } public void setPicture(String picture) { this.picture = picture; } public String getGoodsdescribe() { return this.goodsdescribe; } public void setGoodsdescribe(String goodsdescribe) { this.goodsdescribe = goodsdescribe; } public String getGoodsname() { return this.goodsname; } public void setGoodsname(String goodsname) { this.goodsname = goodsname; } public Integer getGoodsstatus() { return this.goodsstatus; } public void setGoodsstatus(Integer goodsstatus) { this.goodsstatus = goodsstatus; } public Date getGoodstime() { return this.goodstime; } public void setGoodstime(Timestamp goodstime) { this.goodstime = goodstime; } public String getArea() { return this.area; } public void setArea(String area) { this.area = area; } public String getContact() { return this.contact; } public void setContact(String contact) { this.contact = contact; } public String getQq() { return this.qq; } public void setQq(String qq) { this.qq = qq; } public Integer getCreatorId() { return creatorId; } public void setCreatorId(Integer creatorId) { this.creatorId = creatorId; } public Integer getClassifyId() { return classifyId; } public void setClassifyId(Integer classifyId) { this.classifyId = classifyId; } public Classify getClassify() { return classify; } public void setClassify(Classify classify) { this.classify = classify; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } }