package com.hertz.modules.knowledge.entity;

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

@Data
@TableName("knowledge_document")
public class KnowledgeDocument {
  @TableId(type = IdType.AUTO)
  private Long id;
  private Long kbId;
  private String originalName;
  private String storedName;
  private String storedPath;
  private String contentType;
  private Long sizeBytes;
  private String sha256;
  private String status;
  private Integer chunkCount;
  private String errorMessage;
  private LocalDateTime createTime;
  private Integer deleted;
  private LocalDateTime deletedTime;
}

