package com.ruoyi.novel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("reading_history")
public class ReadingRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long chapterId;
    private Long novelId;
    private Integer progress;
    private Long position;
    private Date lastReadTime;
}