This commit is contained in:
2026-05-09 21:17:56 +08:00
6 changed files with 160 additions and 28 deletions
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IM.Commons.IntegrationEvents
{
public class UploadTaskCompleteEvent
{
public Guid TaskId { get; set; }
public string SessionId { get; set; }
public string FileName { get; set; }
public string ProviderCode { get; set; }
public string Bucket { get; set; }
public string Region { get; set; }
public string ObjectKey { get; set; }
public IReadOnlyList<UploadPart> Parts { get; set; }
}
public sealed record UploadPart(
int PartNumber,
string ETag,
long? Size = null,
string? Checksum = null);
}