package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Wang
 * @since 2025-09-20 20:02:07
 */
@Getter
@Setter
@TableName("teacher_read_durations")
@Schema(name = "ReadDurationEntity对象", description = "")
public class ReadDurationsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @Schema(description = "书籍ID")
    @TableField("book_id")
    private Integer bookId;

    @Schema(description = "章节ID")
    @TableField("chapter_id")
    private Integer chapterId;

    @Schema(description = "阅读开始时间")
    @TableField("start_time")
    private LocalDateTime startTime;

    @Schema(description = "阅读结束时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @Schema(description = "阅读时长（秒）")
    @TableField("duration_seconds")
    private Integer durationSeconds;

}
