本文共 2180 字,大约阅读时间需要 7 分钟。
package com.sxt.bean;
import java.sql.Timestamp;
/**
* Goods entity. @author MyEclipse Persistence Tools */public class Goods implements java.io.Serializable {
// Fieldsprivate Integer gid;private String gname;private Double gprice;private Integer gnum;private Timestamp prodate;private String gaddr;private String gtel;private Integer gstatus;private String gurl;// Constructors/** default constructor */public Goods() {}/** full constructor */public Goods(String gname, Double gprice, Integer gnum, Timestamp prodate, String gaddr, String gtel, Integer gstatus, String gurl) { this.gname = gname; this.gprice = gprice; this.gnum = gnum; this.prodate = prodate; this.gaddr = gaddr; this.gtel = gtel; this.gstatus = gstatus; this.gurl = gurl;}public Goods(Integer gid, String gname, Double gprice, Integer gnum, Timestamp prodate, String gaddr, String gtel, Integer gstatus, String gurl) { super(); this.gid = gid; this.gname = gname; this.gprice = gprice; this.gnum = gnum; this.prodate = prodate; this.gaddr = gaddr; this.gtel = gtel; this.gstatus = gstatus; this.gurl = gurl;}// Property accessorspublic Integer getGid() { return this.gid;}public void setGid(Integer gid) { this.gid = gid;}public String getGname() { return this.gname;}public void setGname(String gname) { this.gname = gname;}public Double getGprice() { return this.gprice;}public void setGprice(Double gprice) { this.gprice = gprice;}public Integer getGnum() { return this.gnum;}public void setGnum(Integer gnum) { this.gnum = gnum;}public Timestamp getProdate() { return this.prodate;}public void setProdate(Timestamp prodate) { this.prodate = prodate;}public String getGaddr() { return this.gaddr;}public void setGaddr(String gaddr) { this.gaddr = gaddr;}public String getGtel() { return this.gtel;}public void setGtel(String gtel) { this.gtel = gtel;}public Integer getGstatus() { return this.gstatus;}public void setGstatus(Integer gstatus) { this.gstatus = gstatus;}public String getGurl() { return this.gurl;}public void setGurl(String gurl) { this.gurl = gurl;}
}
转载地址:http://ipdgo.baihongyu.com/