File tree Expand file tree Collapse file tree 6 files changed +18
-3
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card Expand file tree Collapse file tree 6 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
4
import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
5
6
import me .chanjar .weixin .mp .util .json .WxMpGsonBuilder ;
6
7
7
8
import java .io .Serializable ;
12
13
* @Date 2018/12/29
13
14
*/
14
15
@ Data
16
+ @ EqualsAndHashCode (callSuper = true )
15
17
public final class CashCard extends Card implements Serializable {
16
-
17
18
private static final long serialVersionUID = 6965491956462769745L ;
18
19
19
20
/**
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
4
import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
5
6
import me .chanjar .weixin .mp .util .json .WxMpGsonBuilder ;
6
7
7
8
import java .io .Serializable ;
12
13
* @Date 2018/12/29
13
14
*/
14
15
@ Data
16
+ @ EqualsAndHashCode (callSuper = true )
15
17
public final class DiscountCard extends Card implements Serializable {
16
-
17
18
private static final long serialVersionUID = 1704610082472315077L ;
18
19
19
20
/**
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
4
import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
5
6
import me .chanjar .weixin .mp .util .json .WxMpGsonBuilder ;
6
7
7
8
import java .io .Serializable ;
12
13
* @Date 2018/12/29
13
14
*/
14
15
@ Data
16
+ @ EqualsAndHashCode (callSuper = true )
15
17
public class DiscountCardCreateRequest extends CardCreateRequest implements Serializable {
18
+ private static final long serialVersionUID = 1190518086576489692L ;
19
+
16
20
@ SerializedName ("card_type" )
17
21
private String cardType = "DISCOUNT" ;
18
22
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
4
import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
5
6
import me .chanjar .weixin .mp .util .json .WxMpGsonBuilder ;
6
7
7
8
import java .io .Serializable ;
12
13
* @Date 2018/12/29
13
14
*/
14
15
@ Data
16
+ @ EqualsAndHashCode (callSuper = true )
15
17
public final class GeneralCard extends Card implements Serializable {
16
-
17
18
private static final long serialVersionUID = -1577656733441132585L ;
18
19
19
20
/**
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
4
import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
5
6
import me .chanjar .weixin .mp .util .json .WxMpGsonBuilder ;
6
7
7
8
import java .io .Serializable ;
12
13
* @Date 2018/12/29
13
14
*/
14
15
@ Data
16
+ @ EqualsAndHashCode (callSuper = true )
15
17
public class GeneralCardCreateRequest extends CardCreateRequest implements Serializable {
18
+ private static final long serialVersionUID = 1771355872211267723L ;
19
+
16
20
@ SerializedName ("card_type" )
17
21
private String cardType = "GENERAL_COUPON" ;
18
22
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .gson .annotations .SerializedName ;
4
4
import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
5
6
import me .chanjar .weixin .mp .util .json .WxMpGsonBuilder ;
6
7
7
8
import java .io .Serializable ;
12
13
* @Date 2018/12/29
13
14
*/
14
15
@ Data
16
+ @ EqualsAndHashCode (callSuper = true )
15
17
public class GrouponCardCreateRequest extends CardCreateRequest implements Serializable {
18
+ private static final long serialVersionUID = 7551441058859934512L ;
19
+
16
20
@ SerializedName ("card_type" )
17
21
private String cardType = "GROUPON" ;
18
22
You can’t perform that action at this time.
0 commit comments