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
10
11
12 public class MemCardCustomField {
13
14
15
16
17 @JSONField(name = "name_type")
18 private FieldNameType nameType;
19
20
21
22
23 private String name;
24
25
26
27 private String url;
28
29
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 }