View Javadoc
1   package com.foxinmy.weixin4j.model.card;
2   
3   import com.alibaba.fastjson.annotation.JSONField;
4   import com.foxinmy.weixin4j.type.card.FieldNameType;
5   
6   /**
7    * 会员卡自定义类型
8    *
9    * @auther: Feng Yapeng
10   * @since: 2016/12/15 10:49
11   */
12  public class MemCardCustomField {
13  
14      /**
15       *会员信息类目半自定义名称,当开发者变更这类类目信息的value值时,可以选择触发系统模板消息通知用户。
16       */
17      @JSONField(name = "name_type")
18      private FieldNameType nameType;
19  
20      /**
21       * 会员信息类目自定义名称,当开发者变更这类类目信息的value值时, 不会触发系统模板消息通知用户
22       */
23      private String name;
24      /**
25       * 点击类目跳转外链url
26       */
27      private String url;
28      /**
29       * s
30       */
31      private String tips;
32  
33      public MemCardCustomField(FieldNameType fieldNameType, String url) {
34          this.nameType = fieldNameType;
35          this.url = url;
36      }
37  
38      public MemCardCustomField(FieldNameType fieldNameType, String name, String url) {
39          this.nameType = fieldNameType;
40          this.name = name;
41          this.url = url;
42      }
43  
44      public MemCardCustomField(String name, String url, String tips) {
45          this.name = name;
46          this.url = url;
47          this.tips = tips;
48      }
49  
50      public FieldNameType getNameType() {
51          return nameType;
52      }
53  
54      public void setNameType(FieldNameType nameType) {
55          this.nameType = nameType;
56      }
57  
58      public String getName() {
59          return name;
60      }
61  
62      public void setName(String name) {
63          this.name = name;
64      }
65  
66      public String getUrl() {
67          return url;
68      }
69  
70      public void setUrl(String url) {
71          this.url = url;
72      }
73  
74      public String getTips() {
75          return tips;
76      }
77  
78      public void setTips(String tips) {
79          this.tips = tips;
80      }
81  }