package com.yuchen.saas.miniprogram.common.vo;

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

@Data
@ApiModel(value = "微信登录结果", description = "微信登录结果")
public class WxLoginVo {
    //个人用户
    public static Integer TYPE_USER_ACCOUNT=1;
    //企业用户
    public static Integer TYPE_COMPANY_ACCOUNT=2;
    //个人+企业
    public static Integer TYPE_SUP_ACCOUNT=3;

    @ApiModelProperty(value = "账户类型1：个人用户，2：企业用户，3：个人+企业")
    private Integer type;
    @ApiModelProperty(value = "个人用户信息")
    private WxSaasUserVo saasUser;
    @ApiModelProperty(value = "企业用户信息")
    private WxSaasCompanyVo saasCompany;
    @ApiModelProperty(value = "登录token")
    private String token;
    @ApiModelProperty(value = "openId")
    private String openId;
    @ApiModelProperty(value = "phone")
    private String phone;
    @ApiModelProperty(value = "appid")
    private String appid;

}
