1 package com.foxinmy.weixin4j.model.card;
2
3 import com.alibaba.fastjson.annotation.JSONField;
4
5
6
7
8
9
10
11
12 public class CardInfo {
13
14
15
16 private String code;
17
18
19
20 @JSONField(name = "card_id")
21 private String cardId;
22
23
24
25 @JSONField(name = "begin_time")
26 private long beginTime;
27
28
29
30 @JSONField(name = "end_time")
31 private long endTime;
32
33
34
35 private int balance;
36
37
38
39 @JSONField(name = "card_number")
40 private String cardNumber;
41
42
43
44 @JSONField(name = "background_pic_url")
45 private String backgroundPicUrl;
46
47
48
49 @JSONField(name = "record_balance")
50 private String recordBalance;
51
52
53
54 @JSONField(name = "custom_field_value1")
55 private String customFieldValue1;
56
57
58
59 @JSONField(name = "custom_field_value2")
60 private String customFieldValue2;
61
62
63
64 @JSONField(name = "custom_field_value3")
65 private String customFieldValue3;
66
67
68
69 @JSONField(name = "can_give_friend")
70 private Boolean canGiveFriend;
71
72
73
74 private int price;
75
76
77
78 @JSONField(name = "default_gifting_msg")
79 private String defaultGiftingMsg;
80
81 public String getCode() {
82 return code;
83 }
84
85 public void setCode(String code) {
86 this.code = code;
87 }
88
89 public String getCardId() {
90 return cardId;
91 }
92
93 public void setCardId(String cardId) {
94 this.cardId = cardId;
95 }
96
97 public long getBeginTime() {
98 return beginTime;
99 }
100
101 public void setBeginTime(long beginTime) {
102 this.beginTime = beginTime;
103 }
104
105 public long getEndTime() {
106 return endTime;
107 }
108
109 public void setEndTime(long endTime) {
110 this.endTime = endTime;
111 }
112
113 public int getBalance() {
114 return balance;
115 }
116
117 public void setBalance(int balance) {
118 this.balance = balance;
119 }
120
121 public String getCardNumber() {
122 return cardNumber;
123 }
124
125 public void setCardNumber(String cardNumber) {
126 this.cardNumber = cardNumber;
127 }
128
129 public String getBackgroundPicUrl() {
130 return backgroundPicUrl;
131 }
132
133 public void setBackgroundPicUrl(String backgroundPicUrl) {
134 this.backgroundPicUrl = backgroundPicUrl;
135 }
136
137 public String getRecordBalance() {
138 return recordBalance;
139 }
140
141 public void setRecordBalance(String recordBalance) {
142 this.recordBalance = recordBalance;
143 }
144
145 public String getCustomFieldValue1() {
146 return customFieldValue1;
147 }
148
149 public void setCustomFieldValue1(String customFieldValue1) {
150 this.customFieldValue1 = customFieldValue1;
151 }
152
153 public String getCustomFieldValue2() {
154 return customFieldValue2;
155 }
156
157 public void setCustomFieldValue2(String customFieldValue2) {
158 this.customFieldValue2 = customFieldValue2;
159 }
160
161 public String getCustomFieldValue3() {
162 return customFieldValue3;
163 }
164
165 public void setCustomFieldValue3(String customFieldValue3) {
166 this.customFieldValue3 = customFieldValue3;
167 }
168
169 public Boolean getCanGiveFriend() {
170 return canGiveFriend;
171 }
172
173 public void setCanGiveFriend(Boolean canGiveFriend) {
174 this.canGiveFriend = canGiveFriend;
175 }
176
177 public void CardItem(){}
178
179 public void CardItem(String code, String cardId){
180 this.code = code;
181 this.cardId = cardId;
182 }
183 }