?? order.java
字號:
package org.whatisjava.dang.domain;
import java.util.Set;
public class Order implements java.io.Serializable {
private static final long serialVersionUID = 9023960831901473231L;
private Integer id;
private Integer userId;
private Integer status;
private Long orderTime;
private String orderDesc;
private Double totalPrice;
private Double sendFee;
private Integer sendId;
private Double orderPrice;
private Long sendTime;
private boolean deleted;
private Integer receiveId;
private String receiveName;
private String fullAddress;
private String postalCode;
private String mobile;
private String phone;
private Set<Item> items;
// Constructors
public Set<Item> getItems() {
return items;
}
public void setItems(Set<Item> items) {
this.items = items;
}
/** default constructor */
public Order() {
}
/** minimal constructor */
public Order(Integer userId, Integer status, Long orderTime,
Double totalPrice, Double sendFee, Double orderPrice,
Integer receiveId) {
this.userId = userId;
this.status = status;
this.orderTime = orderTime;
this.totalPrice = totalPrice;
this.sendFee = sendFee;
this.orderPrice = orderPrice;
this.receiveId = receiveId;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUserId() {
return this.userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getOrderTime() {
return this.orderTime;
}
public void setOrderTime(Long orderTime) {
this.orderTime = orderTime;
}
public String getOrderDesc() {
return this.orderDesc;
}
public void setOrderDesc(String orderDesc) {
this.orderDesc = orderDesc;
}
public Double getTotalPrice() {
return this.totalPrice;
}
public void setTotalPrice(Double totalPrice) {
this.totalPrice = totalPrice;
}
public Double getSendFee() {
return this.sendFee;
}
public void setSendFee(Double sendFee) {
this.sendFee = sendFee;
}
public Integer getSendId() {
return this.sendId;
}
public void setSendId(Integer sendId) {
this.sendId = sendId;
}
public Double getOrderPrice() {
return this.orderPrice;
}
public void setOrderPrice(Double orderPrice) {
this.orderPrice = orderPrice;
}
public Long getSendTime() {
return this.sendTime;
}
public void setSendTime(Long sendTime) {
this.sendTime = sendTime;
}
public Integer getReceiveId() {
return this.receiveId;
}
public void setReceiveId(Integer receiveId) {
this.receiveId = receiveId;
}
public String getReceiveName() {
return this.receiveName;
}
public void setReceiveName(String receiveName) {
this.receiveName = receiveName;
}
public String getFullAddress() {
return this.fullAddress;
}
public void setFullAddress(String fullAddress) {
this.fullAddress = fullAddress;
}
public String getPostalCode() {
return this.postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public String getMobile() {
return this.mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public boolean isDeleted() {
return deleted;
}
public void setDeleted(boolean deleted) {
this.deleted = deleted;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -