chore(repo): import lab2 sources as lab3 baseline

This commit is contained in:
Голиков Maximillian Антон
2026-10-06 18:59:51 +03:00
parent 0ab3a341aa
commit a7ba75be4b
53 changed files with 3244 additions and 2 deletions
+37
View File
@@ -0,0 +1,37 @@
package domain
import "time"
type Health struct {
Status string
}
type User struct {
ID string
Username string
DisplayName string
PasswordHash string // в DTO UserResponse его не будет
CreatedAt time.Time
}
type Chat struct {
ID string
Title string
MemberIDs []string
CreatedAt time.Time
}
type Message struct {
ID string
ChatID string
SenderID string
Text string
CreatedAt time.Time
}
type Session struct {
TokenHash []byte
UserID string
ExpiresAt time.Time
CreatedAt time.Time
}