WeappQrcodeRequest.java 2.24 KB
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);
    }
	
	
}