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

This commit is contained in:
2026-11-11 15:30:29 +03:00
parent 0ab3a341aa
commit fa2686086d
63 changed files with 2292 additions and 27 deletions
@@ -0,0 +1,26 @@
package ru.mtusi.messenger.entity;
import jakarta.persistence.*;
import java.time.OffsetDateTime;
import java.util.UUID;
@Entity
@Table(name = "sessions")
public class SessionEntity {
@Id
private String token;
@Column(name = "user_id", nullable = false)
private UUID userId;
@Column(name = "expires_at", nullable = false)
private OffsetDateTime expiresAt;
// Геттеры и сеттеры
public String getToken() { return token; }
public void setToken(String token) { this.token = token; }
public UUID getUserId() { return userId; }
public void setUserId(UUID userId) { this.userId = userId; }
public OffsetDateTime getExpiresAt() { return expiresAt; }
public void setExpiresAt(OffsetDateTime expiresAt) { this.expiresAt = expiresAt; }
}