package com.ruoyi.common.core.domain.model;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

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

@Data
public class WxLoginBody {
    
    @ApiModelProperty("用于获取手机号的授权码，首次登录必填")
    private String mobileCode;

    @NotBlank(message = "登录授权码不允许为空")
    @ApiModelProperty("wx.login获取的登录授权码，用于获取openId，必填")
    private String loginCode;

    @NotNull(message = "应用ID不允许为空")
    private Long appId;
}