forked from mtusi2026/mtusi2026lab5
Реализация 5 лабораторной работы
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user