📄 salesorder.java
字号:
package com.shopping.vo;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Salesorder entity.
*
* @author MyEclipse Persistence Tools
*/
public class Salesorder implements java.io.Serializable {
// Fields
private Integer id;
private User user;
private String orderno;
private String addr;
private Date odate;
private String status;
private String postcode;
private String name;
private String email;
private double totalprice;
private String shippingWay;
private String payment;
private String comment;
private String phone;
private Set lineitems = new HashSet(0);
// Constructors
/** default constructor */
public Salesorder() {
}
/** full constructor */
public Salesorder(User user, String orderno, String addr, Date odate,
String status, String postcode, String name, String email,
double totalprice, String shippingWay, String payment,
String comment, Set lineitems) {
this.user = user;
this.orderno = orderno;
this.addr = addr;
this.odate = odate;
this.status = status;
this.postcode = postcode;
this.name = name;
this.email = email;
this.totalprice = totalprice;
this.shippingWay = shippingWay;
this.payment = payment;
this.comment = comment;
this.lineitems = lineitems;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public User getUser() {
return this.user;
}
public void setUser(User user) {
this.user = user;
}
public String getOrderno() {
return this.orderno;
}
public void setOrderno(String orderno) {
this.orderno = orderno;
}
public String getAddr() {
return this.addr;
}
public void setAddr(String addr) {
this.addr = addr;
}
public Date getOdate() {
return this.odate;
}
public void setOdate(Date odate) {
this.odate = odate;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getPostcode() {
return this.postcode;
}
public void setPostcode(String postcode) {
this.postcode = postcode;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public double getTotalprice() {
return this.totalprice;
}
public void setTotalprice(double totalprice) {
this.totalprice = totalprice;
}
public String getShippingWay() {
return this.shippingWay;
}
public void setShippingWay(String shippingWay) {
this.shippingWay = shippingWay;
}
public String getPayment() {
return this.payment;
}
public void setPayment(String payment) {
this.payment = payment;
}
public String getComment() {
return this.comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public Set getLineitems() {
return this.lineitems;
}
public void setLineitems(Set lineitems) {
this.lineitems = lineitems;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -