📄 order.java
字号:
package com.ebookstore.dto;
import java.util.Date;
public class Order extends BaseDTO {
// Fields
private Integer orderId;
private Integer userId;
private Date orderdate;
private Double totalprice;
private String shipaddress;
private String shipcity;
private String shiptoname;
private String status;
// Constructors
/** default constructor */
public Order() {
}
/** full constructor */
public Order(Integer userId, Date orderdate, Double totalprice, String shipaddress, String shipcity,
String shiptoname, String status) {
this.userId = userId;
this.orderdate = orderdate;
this.totalprice = totalprice;
this.shipaddress = shipaddress;
this.shipcity = shipcity;
this.shiptoname = shiptoname;
this.status = status;
}
// Property accessors
public Integer getOrderId() {
return this.orderId;
}
public void setOrderId(Integer orderId) {
this.orderId = orderId;
}
public Integer getUserId() {
return this.userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Date getOrderdate() {
return this.orderdate;
}
public void setOrderdate(Date orderdate) {
this.orderdate = orderdate;
}
public Double getTotalprice() {
return this.totalprice;
}
public void setTotalprice(Double totalprice) {
this.totalprice = totalprice;
}
public String getShipaddress() {
return this.shipaddress;
}
public void setShipaddress(String shipaddress) {
this.shipaddress = shipaddress;
}
public String getShipcity() {
return this.shipcity;
}
public void setShipcity(String shipcity) {
this.shipcity = shipcity;
}
public String getShiptoname() {
return this.shiptoname;
}
public void setShiptoname(String shiptoname) {
this.shiptoname = shiptoname;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -