package com.reading.platform.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Data
@Schema(description = "成长档案更新请求")
public class GrowthRecordUpdateRequest {

    @Schema(description = "类型", example = "reading")
    private String type;

    @Schema(description = "标题", example = "第一次独立阅读")
    private String title;

    @Schema(description = "内容", example = "孩子今天第一次独立完成了整本绘本的阅读")
    private String content;

    @Schema(description = "图片（JSON数组）")
    private String images;

    @Schema(description = "记录日期", example = "2024-01-15")
    private LocalDate recordDate;

    @Schema(description = "标签", example = "[\"阅读\",\"成长\"]")
    private List<String> tags;

}
