package com.lesingle.edu.dto.response;

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

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

/**
 * 成长记录响应
 * 用于返回成长记录信息给前端
 */
@Data
@Builder
@Schema(description = "成长记录响应")
public class GrowthRecordResponse {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "学生 ID")
    private Long studentId;

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

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "图片URL列表")
    private List<String> images;

    @Schema(description = "记录人 ID")
    private Long recordedBy;

    @Schema(description = "记录人角色")
    private String recorderRole;

    @Schema(description = "记录日期")
    private LocalDate recordDate;

    @Schema(description = "标签")
    private String tags;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
