package com.reading.platform.dto.request;

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

import java.time.LocalDate;
import java.util.List;

@Data
@Schema(description = "Growth Record Create Request")
public class GrowthRecordCreateRequest {

    @NotNull(message = "Student ID is required")
    @Schema(description = "Student ID")
    private Long studentId;

    @NotBlank(message = "Type is required")
    @Schema(description = "Type: reading, behavior, achievement, milestone")
    private String type;

    @NotBlank(message = "Title is required")
    @Schema(description = "Title")
    private String title;

    @Schema(description = "Content")
    private String content;

    @Schema(description = "Images (JSON array)")
    private String images;

    @Schema(description = "Record date")
    private LocalDate recordDate;

    @Schema(description = "Tags")
    private List<String> tags;

}
