Skip to content

Commit d17bb25

Browse files
committed
优化代码
1 parent 0937ac8 commit d17bb25

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/GiftCardCreateRequest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.google.gson.annotations.SerializedName;
44
import lombok.Data;
5+
import lombok.EqualsAndHashCode;
56
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
67

78
import java.io.Serializable;
@@ -12,7 +13,10 @@
1213
* @Date 2018/12/29
1314
*/
1415
@Data
16+
@EqualsAndHashCode(callSuper = true)
1517
public class GiftCardCreateRequest extends CardCreateRequest implements Serializable {
18+
private static final long serialVersionUID = 1283655452584811858L;
19+
1620
@SerializedName("card_type")
1721
private String cardType = "GIFT";
1822

0 commit comments

Comments
 (0)