add API solution

This commit is contained in:
Stanley Dimant
2022-07-17 00:04:20 +02:00
parent 0542443fba
commit af8516d44a
15 changed files with 560 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
namespace MareSynchronos.API
{
public record DownloadFileDto : ITransferFileDto
{
public bool FileExists { get; set; } = true;
public string Hash { get; set; } = string.Empty;
public long Size { get; set; } = 0;
public bool IsForbidden { get; set; } = false;
public string ForbiddenBy { get; set; } = string.Empty;
}
}