add:
更新
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace IM_API.Models.Upload
|
||||
{
|
||||
public class UploadTask
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public string FileName { get; set; } = default!;
|
||||
public long FileSize { get; set; }
|
||||
public string FileHash { get; set; }
|
||||
public string ContentType { get; set; } = default!;
|
||||
|
||||
public int ChunkSize { get; set; }
|
||||
public int TotalChunks { get; set; }
|
||||
|
||||
public UploadStatus Status { get; set; }
|
||||
|
||||
public string StorageProvider { get; set; } = default!;
|
||||
public string ObjectName { get; set; } = default!;
|
||||
|
||||
public string? ProviderUploadId { get; set; } // OSS/S3 UploadId
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user