7 changed files with 41 additions and 30 deletions
@ -1,12 +1,9 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
namespace LINGYUN.Abp.BlobManagement.Dtos; |
|||
|
|||
public class BlobDownloadByIdInput |
|||
{ |
|||
public Guid? TenantId { get; set; } |
|||
|
|||
[Required] |
|||
public Guid Id { get; set; } |
|||
public string Key { get; set; } |
|||
} |
|||
|
|||
@ -1,19 +1,23 @@ |
|||
using System; |
|||
using Volo.Abp.MultiTenancy; |
|||
|
|||
namespace LINGYUN.Abp.BlobManagement; |
|||
|
|||
[IgnoreMultiTenancy] |
|||
public class BlobDownloadKeyCacheItem |
|||
{ |
|||
public string Url { get; set; } |
|||
public Guid BlobId { get; set; } |
|||
public Guid? TenantId { get; set; } |
|||
public BlobDownloadKeyCacheItem() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public BlobDownloadKeyCacheItem(Guid blobId, string url) |
|||
public BlobDownloadKeyCacheItem(Guid blobId, string url, Guid? tenantId = null) |
|||
{ |
|||
BlobId = blobId; |
|||
Url = url; |
|||
TenantId = tenantId; |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue