Package com.bytedesk.core.upload
Class UploadEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.core.upload.UploadEntity
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprivate String
Associated category UID for file organizationprivate String
Client platform from which the file was uploaded (WEB, MOBILE, etc.)private String
Additional upload information stored as JSON formatprivate String
Original filename of the uploaded fileprivate String
Size of the uploaded file in bytes or human-readable formatprivate String
MIME type or file extension of the uploaded fileprivate String
URL or path to access the uploaded fileprivate String
Associated knowledge base UID if file is part of a knowledge baseprivate static final long
private String
Current status of the upload (UPLOADED, PROCESSING, FAILED, etc.)private String
Type of upload (LLM, IMAGE, DOCUMENT, etc.)private String
User information who uploaded the file stored as JSON string -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
fileName
Original filename of the uploaded file -
fileSize
Size of the uploaded file in bytes or human-readable format -
fileUrl
URL or path to access the uploaded file -
fileType
MIME type or file extension of the uploaded file -
channel
Client platform from which the file was uploaded (WEB, MOBILE, etc.) -
type
Type of upload (LLM, IMAGE, DOCUMENT, etc.) -
status
Current status of the upload (UPLOADED, PROCESSING, FAILED, etc.) -
categoryUid
Associated category UID for file organization -
kbUid
Associated knowledge base UID if file is part of a knowledge base -
extra
Additional upload information stored as JSON format -
user
User information who uploaded the file stored as JSON string
-
-
Constructor Details
-
UploadEntity
public UploadEntity()
-