Implement lab6 observability stack
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package ru.mtusi.lab6;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
record Attachment(UUID id, UUID chatId, UUID ownerId, String filename, String contentType,
|
||||
long sizeBytes, String sha256, String objectKey, String status,
|
||||
String errorCode, List<Variant> variants, Instant createdAt, Instant updatedAt) {
|
||||
record Variant(String name, String contentType, long sizeBytes, String sha256, int width, int height, String objectKey) {}
|
||||
}
|
||||
Reference in New Issue
Block a user