package com.reading.platform.entity;

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

import java.time.LocalDateTime;

/**
 * Lesson Feedback Entity
 */
@Data
@TableName("lesson_feedbacks")
public class LessonFeedback {

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

    private Long lessonId;

    private Long teacherId;

    private String content;

    private Integer rating;

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

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

    @TableLogic
    private Integer deleted;

}
