package com.seer.teach.user.app.user.controller.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "用户信息")
public class AppUserInfoResp {

    @Schema(description = "id")
    private Integer id ;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "头像URL")
    private String avatar ;

    @Schema(description = "昵称")
    private String nickName ;

    @Schema(description = "性别 0 女 1 男")
    private Integer gender;

    @Schema(description = "出生日期")
    private LocalDate birthDate;

    @Schema(description = "年级")
    private Integer gradeId ;

    @Schema(description = "等级")
    private String currentLevelName ;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "家庭Id")
    private Integer familyId;

    @Schema(description = "是否是主监护人")
    private boolean isPrimaryGuardian;


}