package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 网上开户三方认证表
 * </p>
 *
 * @author XKF
 * @since 2024-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WSKH_USERAUTHINFO")
@ApiModel(value="WskhUserauthinfo对象", description="网上开户三方认证表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WskhUserauthinfo extends Model<WskhUserauthinfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "三方认证IID")
    private String authid;

    @ApiModelProperty(value = "三方认证类型 - 1:微信 2:支付宝")
    @TableField("AUTHTYPE")
    private Integer authtype;

    @ApiModelProperty(value = "用户ID")
    @TableField("USERID")
    private BigDecimal userid;

    @ApiModelProperty(value = "三方认证I昵称")
    @TableField("AUTHNAME")
    private String authname;


    @Override
    public Serializable pkVal() {
        return this.authid;
    }

}
