package com.lesingle.modules.pub.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "创建子女信息")
public class CreateChildDto {

    @NotBlank(message = "姓名不能为空")
    @Schema(description = "姓名")
    private String name;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "出生日期")
    private String birthday;

    @Schema(description = "年级")
    private String grade;

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

    @Schema(description = "学校名称")
    private String schoolName;

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