package com.eleadmin.common.system.param;

import com.eleadmin.common.core.annotation.QueryField;
import com.eleadmin.common.core.annotation.QueryType;
import com.eleadmin.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 第三方用户信息表查询参数
 *
 * @author 科技小王子
 * @since 2022-09-01 16:17:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UserOauthParam对象", description = "第三方用户信息表查询参数")
public class UserOauthParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @ApiModelProperty(value = "微信code")
    private String code;

    @ApiModelProperty(value = "第三方登陆类型(MP-WEIXIN)")
    private String oauthType;

    @ApiModelProperty(value = "第三方用户唯一标识 (uid openid)")
    private String oauthId;

    @ApiModelProperty(value = "微信unionID")
    private String unionid;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "第三方用户信息")
    private Object userInfo;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

}
