View Javadoc
1   package com.foxinmy.weixin4j.model.card;
2   
3   import com.alibaba.fastjson.annotation.JSONField;
4   
5   /**
6    * 礼品卡货架主题内的礼品卡描述项
7    *
8    * @author kit(kit.li@qq.com)
9    * @date 2018年10月30日
10   */
11  public class CardItem {
12      /**
13       * 待上架的card_id
14       */
15      @JSONField(name = "card_id")
16      private String cardId;
17      /**
18       * 商品名,不填写默认为卡名称
19       */
20      private String title;
21      /**
22       * 商品缩略图,1000像素*600像素以下
23       */
24      @JSONField(name = "pic_url")
25      private String picUrl;
26      /**
27       * 商品简介
28       */
29      private String desc;
30  
31      public CardItem(){
32  
33      }
34  
35      public CardItem(String cardId) {
36          this.cardId = cardId;
37      }
38  
39      public CardItem(String cardId, String title, String picUrl, String desc) {
40          this.cardId = cardId;
41          this.title = title;
42          this.picUrl = picUrl;
43          this.desc = desc;
44      }
45  
46      public String getCardId() {
47          return cardId;
48      }
49  
50      public String getTitle() {
51          return title;
52      }
53  
54      public String getPicUrl() {
55          return picUrl;
56      }
57  
58      public String getDesc() {
59          return desc;
60      }
61  
62      public void setCardId(String cardId) {
63          this.cardId = cardId;
64      }
65  
66      public void setTitle(String title) {
67          this.title = title;
68      }
69  
70      public void setPicUrl(String picUrl) {
71          this.picUrl = picUrl;
72      }
73  
74      public void setDesc(String desc) {
75          this.desc = desc;
76      }
77  }