Class UploadEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.core.upload.UploadEntity
All Implemented Interfaces:
Serializable

@Entity public class UploadEntity extends BaseEntity
File upload entity for managing uploaded files and documents Handles file metadata, storage information, and upload tracking Database Table: bytedesk_core_upload Purpose: Stores file upload records, metadata, and access information
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • fileName

      private String fileName
      Original filename of the uploaded file
    • fileSize

      private String fileSize
      Size of the uploaded file in bytes or human-readable format
    • fileUrl

      private String fileUrl
      URL or path to access the uploaded file
    • fileType

      private String fileType
      MIME type or file extension of the uploaded file
    • channel

      private String channel
      Client platform from which the file was uploaded (WEB, MOBILE, etc.)
    • type

      private String type
      Type of upload (LLM, IMAGE, DOCUMENT, etc.)
    • status

      private String status
      Current status of the upload (UPLOADED, PROCESSING, FAILED, etc.)
    • categoryUid

      private String categoryUid
      Associated category UID for file organization
    • kbUid

      private String kbUid
      Associated knowledge base UID if file is part of a knowledge base
    • extra

      private String extra
      Additional upload information stored as JSON format
    • user

      private String user
      User information who uploaded the file stored as JSON string
  • Constructor Details

    • UploadEntity

      public UploadEntity()