package com.reading.platform.entity;

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

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

/**
 * Student Class History Entity
 */
@Data
@TableName("student_class_history")
public class StudentClassHistory {

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

    private Long studentId;

    private Long classId;

    private LocalDate startDate;

    private LocalDate endDate;

    private String status;

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

    @TableLogic
    private Integer deleted;

}
