package shop.alien.gateway.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("绑定微信请求")
public class LifeUserThirdBindWechatRequest {

    @NotBlank(message = "code 不能为空")
    @ApiModelProperty(value = "微信开放平台移动应用 SDK 授权返回的 code", required = true)
    private String code;

    @ApiModelProperty("微信昵称（用户授权后由 App 取到并传入；换票接口不含昵称）")
    private String nickName;

    @ApiModelProperty("微信侧手机号（如开放平台/组件授权后由客户端传入，可选）")
    private String bindPhone;
}
