adderss
package po; import java.sql.Date; public class adderss { private Long id; private String contact; private String addressdesc; private String postcode; private String tel; private Long createdby; private Date creationdate; private Long modifyby; private Date modifydate; private Long userid; public Long getId() { return id; } public String getContact() { return contact; } public String getAddressdesc() { return addressdesc; } public String getPostcode() { return postcode; } public String getTel() { return tel; } public Long getCreatedby() { return createdby; } public Date getCreationdate() { return creationdate; } public Long getModifyby() { return modifyby; } public Date getModifydate() { return modifydate; } public Long getUserid() { return userid; } public void setId(Long id) { this.id = id; } public void setContact(String contact) { this.contact = contact; } public void setAddressdesc(String addressdesc) { this.addressdesc = addressdesc; } public void setPostcode(String postcode) { this.postcode = postcode; } public void setTel(String tel) { this.tel = tel; } public void setCreatedby(Long createdby) { this.createdby = createdby; } public void setCreationdate(Date creationdate) { this.creationdate = creationdate; } public void setModifyby(Long modifyby) { this.modifyby = modifyby; } public void setModifydate(Date modifydate) { this.modifydate = modifydate; } public void setUserid(Long userid) { this.userid = userid; } }
bill
package po; import java.math.BigDecimal; import java.sql.Date; public class bill { private Long id; private String billcode; private String productname; private String productdesc; private String productunit; private BigDecimal productcount; private BigDecimal totalprice; private Integer ispayment; private Long createdby; private Date creationdate; private Long modifyby; private Date modifydate; private Integer providerid; public Long getId() { return id; } public String getBillcode() { return billcode; } public String getProductname() { return productname; } public String getProductdesc() { return productdesc; } public String getProductunit() { return productunit; } public BigDecimal getProductcount() { return productcount; } public BigDecimal getTotalprice() { return totalprice; } public Integer getIspayment() { return ispayment; } public Long getCreatedby() { return createdby; } public Date getCreationdate() { return creationdate; } public Long getModifyby() { return modifyby; } public Date getModifydate() { return modifydate; } public Integer getProviderid() { return providerid; } public void setId(Long id) { this.id = id; } public void setBillcode(String billcode) { this.billcode = billcode; } public void setProductname(String productname) { this.productname = productname; } public void setProductdesc(String productdesc) { this.productdesc = productdesc; } public void setProductunit(String productunit) { this.productunit = productunit; } public void setProductcount(BigDecimal productcount) { this.productcount = productcount; } public void setTotalprice(BigDecimal totalprice) { this.totalprice = totalprice; } public void setIspayment(Integer ispayment) { this.ispayment = ispayment; } public void setCreatedby(Long createdby) { this.createdby = createdby; } public void setCreationdate(Date creationdate) { this.creationdate = creationdate; } public void setModifyby(Long modifyby) { this.modifyby = modifyby; } public void setModifydate(Date modifydate) { this.modifydate = modifydate; } public void setProviderid(Integer providerid) { this.providerid = providerid; } }
provider
package po; import java.sql.Date; public class provider { private Long id; private String procode; private String proname; private String prodesc; private String procontact; private String prophone; private String proaddress; private String profax; private Long createdby; private Date creationdate; private Date modifydate; private Long modifyby; public void setId(Long id) { this.id = id; } public void setProcode(String procode) { this.procode = procode; } public void setProname(String proname) { this.proname = proname; } public void setProdesc(String prodesc) { this.prodesc = prodesc; } public void setProcontact(String procontact) { this.procontact = procontact; } public void setProphone(String prophone) { this.prophone = prophone; } public void setProaddress(String proaddress) { this.proaddress = proaddress; } public void setProfax(String profax) { this.profax = profax; } public void setCreatedby(Long createdby) { this.createdby = createdby; } public void setCreationdate(Date creationdate) { this.creationdate = creationdate; } public void setModifydate(Date modifydate) { this.modifydate = modifydate; } public void setModifyby(Long modifyby) { this.modifyby = modifyby; } public Long getId() { return id; } public String getProcode() { return procode; } public String getProname() { return proname; } public String getProdesc() { return prodesc; } public String getProcontact() { return procontact; } public String getProphone() { return prophone; } public String getProaddress() { return proaddress; } public String getProfax() { return profax; } public Long getCreatedby() { return createdby; } public Date getCreationdate() { return creationdate; } public Date getModifydate() { return modifydate; } public Long getModifyby() { return modifyby; } }
role
package po; import java.sql.Date; public class role { private Long id; private String rolecode; private String rolename; private Long createdby; private Date creationdate; private Long modifyby; private Date modifydate; public Long getId() { return id; } public String getRolecode() { return rolecode; } public String getRolename() { return rolename; } public Long getCreatedby() { return createdby; } public Date getCreationdate() { return creationdate; } public Long getModifyby() { return modifyby; } public Date getModifydate() { return modifydate; } public void setId(Long id) { this.id = id; } public void setRolecode(String rolecode) { this.rolecode = rolecode; } public void setRolename(String rolename) { this.rolename = rolename; } public void setCreatedby(Long createdby) { this.createdby = createdby; } public void setCreationdate(Date creationdate) { this.creationdate = creationdate; } public void setModifyby(Long modifyby) { this.modifyby = modifyby; } public void setModifydate(Date modifydate) { this.modifydate = modifydate; } @Override public String toString() { return "role{" + "id=" + id + ", rolecode='" + rolecode + '\'' + ", rolename='" + rolename + '\'' + ", createdby=" + createdby + ", creationdate=" + creationdate + ", modifyby=" + modifyby + ", modifydate=" + modifydate + '}'; } }
user
package po; import java.util.Date; public class user { //用户 private int id; private String userCode; private String userName; private String userPassword; private String gender; private Date birthday; private String phone; private String address; private String userRole; private String createdBy; private Date creationDate; private String modifyBy; private String modifyDate; private int age; public int getAge() { Date date = new Date(); age = date.getYear() - this.birthday.getYear(); return age; } public String getUserCode() { return userCode; } public String getUserName() { return userName; } public String getUserPassword() { return userPassword; } public String getGender() { return gender; } public Date getBirthday() { return birthday; } public String getPhone() { return phone; } public String getAddress() { return address; } public String getUserRole() { return userRole; } public String getCreatedBy() { return createdBy; } public Date getCreationDate() { return creationDate; } public String getModifyBy() { return modifyBy; } public String getModifyDate() { return modifyDate; } public void setUserCode(String userCode) { this.userCode = userCode; } public void setUserName(String userName) { this.userName = userName; } public void setUserPassword(String userPassword) { this.userPassword = userPassword; } public void setGender(String gender) { this.gender = gender; } public void setBirthday(Date birthday) { this.birthday = birthday; } public void setPhone(String phone) { this.phone = phone; } public void setAddress(String address) { this.address = address; } public void setUserRole(String userRole) { this.userRole = userRole; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public void setCreationDate(Date creationDate) { this.creationDate = creationDate; } public void setModifyBy(String modifyBy) { this.modifyBy = modifyBy; } public void setModifyDate(String modifyDate) { this.modifyDate = modifyDate; } public int getId() { return id; } public void setId(int id) { this.id = id; } @Override public String toString() { return "user{" + "id=" + id + ", userCode='" + userCode + '\'' + ", userName='" + userName + '\'' + ", userPassword='" + userPassword + '\'' + ", gender='" + gender + '\'' + ", birthday=" + birthday + ", phone='" + phone + '\'' + ", address='" + address + '\'' + ", userRole='" + userRole + '\'' + ", createdBy='" + createdBy + '\'' + ", creationDate=" + creationDate + ", modifyBy='" + modifyBy + '\'' + ", modifyDate='" + modifyDate + '\'' + ", age=" + age + '}'; } }