Реализация 5 лабораторной работы

This commit is contained in:
2026-11-27 20:06:14 +03:00
parent 276dbdad8a
commit 4fe4ab3432
116 changed files with 11883 additions and 25 deletions
+9
View File
@@ -0,0 +1,9 @@
namespace Messenger.Api.Models;
public sealed record Attachment(
Guid Id, Guid ChatId, Guid OwnerId, string Filename, string ContentType,
long SizeBytes, string Sha256, string Status, AttachmentVariant[] Variants,
string? ErrorCode, DateTimeOffset CreatedAt, DateTimeOffset UpdatedAt);
public sealed record AttachmentVariant(string Name, string ContentType, long SizeBytes,
int Width, int Height, string Sha256);