WeappQrcodeRequest.java
2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package cn.com.glsx.entmicro.request.payment;
import cn.com.glsx.entmicro.request.DefaultRequest;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang.builder.ToStringBuilder;
import javax.validation.constraints.NotNull;
public class WeappQrcodeRequest extends DefaultRequest {
/**
* 小程序APPId
*/
@ApiModelProperty(name = "appId", notes = "小程序APPID", dataType = "string", required = true, example = "")
@NotNull
private String appId;
/**
* 二维码类型(QR_WXA_LIMIT:永久有限小程序码,QR_WXA_UNLIMIT:永久不限小程序码,QR_LIMIT:永久有限二维码)
*/
@ApiModelProperty(name = "qrcodeType", notes = "二维码类型(QR_WXA_LIMIT:永久有限小程序码,QR_WXA_UNLIMIT:永久不限小程序码,QR_LIMIT:永久有限二维码)", dataType = "string", required = true, example = "QR_LIMIT")
@NotNull
private String qrcodeType;
/**
* 页面路径
*/
@NotNull
@ApiModelProperty(name = "path", notes = "小程序页面路径", dataType = "string", required = true, example = "packageIndex/pages/remindService/activity/activity")
private String path;
/**
* 页面参数
*/
@ApiModelProperty(name = "scene", notes = "页面参数", dataType = "string", required = true, example = "id=585&m=44184606&r=693")
private String scene;
/**
* 渠道名称
*/
@NotNull
@ApiModelProperty(name = "channelName", notes = "渠道名称-固定传 DJ", dataType = "string", required = true, example = "DJ")
private String channelName;
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getScene() {
return scene;
}
public void setScene(String scene) {
this.scene = scene;
}
public String getQrcodeType() {
return qrcodeType;
}
public void setQrcodeType(String qrcodeType) {
this.qrcodeType = qrcodeType;
}
public void setChannelName(String channelName) {
this.channelName = channelName;
}
public String getChannelName() {
return channelName;
}
public String toString(){
return ToStringBuilder.reflectionToString(this);
}
}