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

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 jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 *
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-11-22 14:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "更新用户信息请求实体类")
public class UpdateUserInfoReq {

    @Schema(description = "年级")
    @NotNull(message = "年级不可为空")
    private Integer gradeId;

    @Schema(description = "城市Id")
    @NotNull(message = "城市Id不可为空")
    private Integer cityId;

    @Schema(description = "性别 0女 1男")
    @NotNull(message = "性别不可为空")
    private Integer gender;

    @Schema(description = "头像")
    @NotBlank(message = "年级不可为空")
    private String avatar;

    @Schema(description = "昵称")
    @NotBlank(message = "昵称不可为空")
    private String nickName;

    @Schema(description = "出生日期")
    @NotNull(message = "出生日期不可为空")
    private LocalDate birthDate;

    @Schema(description = "学校")
    @NotBlank(message = "学校不可为空")
    private String school;

}
