package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * 成长记录实体
 */
@Schema(description = "成长记录实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("growth_record")
public class GrowthRecord extends BaseEntity {

    @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 = "图片（JSON 数组）")
    private String images;

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

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

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

    @Schema(description = "标签（JSON 数组）")
    private String tags;

}
