package com.reading.platform.dto.request;

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

@Data
@Schema(description = "家长创建请求")
public class ParentCreateRequest {

    @Schema(description = "用户名", example = "parent1", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码", example = "123456", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "密码不能为空")
    private String password;

    @Schema(description = "姓名", example = "张三", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "姓名不能为空")
    private String name;

    @Schema(description = "电话", example = "13800138000")
    private String phone;

    @Schema(description = "邮箱", example = "parent@example.com")
    private String email;

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

}
