package com.sonic.bear.lib.output;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class BaseUserInfoOutput {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("headImage")
    private String headImage;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("ID编号")
    private String idCard;

    @ApiModelProperty("生日")
    private LocalDateTime birthday;

    @ApiModelProperty("账号类型")
    private String thirdType;

    @ApiModelProperty("账号昵称")
    private String thirdNickname;

    @ApiModelProperty("账号邮箱")
    private String thirdEmail;

    //=============== 开关相关字段 ===============

    @ApiModelProperty("是否需要强制完善用户基础信息")
    private Boolean cpUserInfo;

    @ApiModelProperty("是否是会员")
    private Boolean isMember;
}
