package com.ishop.model.request; import java.io.Serializable; /** * 三方用户注册对象,暂时微信小程序登录使用。 * @date 2023-007-27 */ public class RegisterThirdUserRequest implements Serializable { public Long getSpreadPid() { return spreadPid; } public void setSpreadPid(Long spreadPid) { this.spreadPid = spreadPid; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getOpenId() { return openId; } public void setOpenId(String openId) { this.openId = openId; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } // @ApiModelProperty(value = "推广人id") private Long spreadPid; // @ApiModelProperty(value = "用户类型:wechat-公众号,routine-小程序,h5-H5,iosWx-苹果微信,androidWx-安卓微信") // @StringContains(limitValues = {"wechat","routine","h5","iosWx","androidWx"}, message = "未知的用户类型") private String type; // @ApiModelProperty(value = "用户openId") private String openId; // @ApiModelProperty(value = "前端临时授权code") private String code; @Override public String toString() { return "RegisterThirdUserRequest{" + "spreadPid=" + spreadPid + ", type='" + type + '\'' + ", openId='" + openId + '\'' + ", code='" + code + '\'' + '}'; } }