CouponSendMqBean.java
1.9 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
package com.yoho.mq;
import java.util.List;
/**
* 描述:券发放MQ对象
* Created by pangjie@yoho.cn on 2016/5/18.
*/
public class CouponSendMqBean {
/**
*
*/
private static final long serialVersionUID = -2453701970834359630L;
/**
* 用户uid
*/
private int uid;
/**
* 券ID列表
*/
private List<Integer> couponIds;
/**
* 系统标示,不同的系统可处理之后可能有不同的处理
*/
private String system;
/**
* 和system相关,可能需要根据不同的system做不同的业务,还有系统的ID
*/
private int systemId;
public int getUid() {
return uid;
}
public void setUid(int uid) {
this.uid = uid;
}
public List<Integer> getCouponIds() {
return couponIds;
}
public void setCouponIds(List<Integer> couponIds) {
this.couponIds = couponIds;
}
public CouponSendMqBean buildUid(int uid) {
this.uid = uid;
return this;
}
public String getSystem() {
return system;
}
public void setSystem(String system) {
this.system = system;
}
public CouponSendMqBean buildCouponIds(List<Integer> couponIds) {
this.couponIds = couponIds;
return this;
}
public CouponSendMqBean buildSystem(String system) {
this.system = system;
return this;
}
public int getSystemId() {
return systemId;
}
public void setSystemId(int systemId) {
this.systemId = systemId;
}
public CouponSendMqBean buildSystemId(int systemId) {
this.systemId = systemId;
return this;
}
public String toString() {
return "CouponSendMqBean{" +
"uid=" + uid +
", couponIds=" + couponIds +
", system='" + system + '\'' +
", systemId=" + systemId +
'}';
}
}