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;

/**
 * @Author: 嘉多宝宝
 * @Data: 2025-05-24 14:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "小程序端更新孩子信息请求实体类")
public class ChildrenInfoUpdateReq {

    @Schema(description = "孩子ID")
    @NotNull(message = "孩子ID不能为空")
    private Integer childId;

    @Schema(description = "电话号码")
    private String phoneNumber;

    @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 province;

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