docs(report): fill REPORT.md for lab4 grade 3

This commit is contained in:
2026-11-11 18:42:30 +03:00
parent ec540a1a72
commit 451482e1cb
72 changed files with 2894 additions and 22 deletions
@@ -0,0 +1,36 @@
package ru.mtusi.messenger.entity;
import jakarta.persistence.*;
import java.time.OffsetDateTime;
import java.util.UUID;
@Entity
@Table(name = "messages")
public class MessageEntity {
@Id
private UUID id;
@Column(name = "chat_id", nullable = false)
private UUID chatId;
@Column(name = "sender_id", nullable = false)
private UUID senderId;
@Column(nullable = false, length = 4000)
private String text;
@Column(name = "created_at", nullable = false)
private OffsetDateTime createdAt;
// Геттеры и сеттеры
public UUID getId() { return id; }
public void setId(UUID id) { this.id = id; }
public UUID getChatId() { return chatId; }
public void setChatId(UUID chatId) { this.chatId = chatId; }
public UUID getSenderId() { return senderId; }
public void setSenderId(UUID senderId) { this.senderId = senderId; }
public String getText() { return text; }
public void setText(String text) { this.text = text; }
public OffsetDateTime getCreatedAt() { return createdAt; }
public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; }
}