package com.reading.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Growth Record Entity
 */
@Data
@TableName("growth_records")
public class GrowthRecord {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long tenantId;

    private Long studentId;

    private String type;

    private String title;

    private String content;

    private String images;

    private Long recordedBy;

    private String recorderRole;

    private LocalDate recordDate;

    private String tags;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    @TableLogic
    private Integer deleted;

}
