ЛР 2 - БВТ2303 - Голиков - на 5 #10

Closed
Maximillan_Mercer wants to merge 61 commits from Maximillan_Mercer/mtusi2026lab2_fork:solution/BVT2303-Golikov into master
Showing only changes of commit 3d9e944c9a - Show all commits
+8
View File
@@ -10,6 +10,7 @@ type User struct {
ID string ID string
Username string Username string
DisplayName string DisplayName string
PasswordHash string // в DTO UserResponse его не будет
CreatedAt time.Time CreatedAt time.Time
} }
@@ -27,3 +28,10 @@ type Message struct {
Text string Text string
CreatedAt time.Time CreatedAt time.Time
} }
type Session struct {
TokenHash []byte
UserID string
ExpiresAt time.Time
CreatedAt time.Time
}