Repository navigation
Expand file tree
/
Copy pathOrderVO.java
More file actions
100 lines (78 loc) · 1.53 KB
/
Copy pathOrderVO.java
File metadata and controls
100 lines (78 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package com.wu.vo;
import java.io.Serializable;
import java.util.Date;
/**
*
* Kafka 简单消息实体类
*
* @author JackWu
* @date 2018-06-22 14:22
*/
@SuppressWarnings("serial")
public class OrderVO implements Serializable {
/**
* 订单编号
*/
private Integer orderId;
/**
* 物品名称
*/
private String goods;
/**
* 单价
*/
private Double price;
/**
* 数量
*/
private Long count;
/**
* 总价
*/
private Double totalPrice;
/**
* 创建订单时间
*/
private Date create;
public Integer getOrderId() {
return orderId;
}
public void setOrderId(Integer orderId) {
this.orderId = orderId;
}
public String getGoods() {
return goods;
}
public void setGoods(String goods) {
this.goods = goods;
}
public Double getPrice() {
return price;
}
public void setPrice(Double price) {
this.price = price;
}
public Long getCount() {
return count;
}
public void setCount(Long count) {
this.count = count;
}
public Double getTotalPrice() {
return totalPrice;
}
public void setTotalPrice(Double totalPrice) {
this.totalPrice = totalPrice;
}
public Date getCreate() {
return create;
}
public void setCreate(Date create) {
this.create = create;
}
@Override
public String toString() {
return "OrderVO [orderId=" + orderId + ", goods=" + goods + ", price=" + price + ", count=" + count
+ ", totalPrice=" + totalPrice + ", create=" + create + "]";
}
}