namespace TakeoutSaaS.Application.Storage.Contracts; /// /// 直传凭证响应模型。 /// public sealed class DirectUploadResponse { /// /// 预签名上传地址。 /// public string UploadUrl { get; set; } = string.Empty; /// /// 表单直传所需字段(PUT 直传为空)。 /// public IReadOnlyDictionary FormFields { get; set; } = new Dictionary(); /// /// 预签名过期时间。 /// public DateTimeOffset ExpiresAt { get; set; } /// /// 对象键。 /// public string ObjectKey { get; set; } = string.Empty; /// /// 直传完成后的访问链接(包含签名)。 /// public string? DownloadUrl { get; set; } }