package top.tqx.demo_1.entity;

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

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("context_reference")
public class ChatReference implements Serializable {

    private static final long serialVersionUID = 1L;

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

    private Long messageId;

    private String chunkId;

    private String docPath;

    private String docName;

    private Integer page;

    private Integer pageEnd;

    private String pageRange;

    private String section;

    private String chunkType;

    private String docType;

    private Integer sectionChunkId;

    private String excerpt;

    private String preview;

    private String bbox;

    private String bboxMode;

    private BigDecimal score;

    private LocalDateTime createTime;
}
