ЛР 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
+12 -4
View File
@@ -7,10 +7,11 @@ type Health struct {
}
type User struct {
ID string
Username string
DisplayName string
CreatedAt time.Time
ID string
Username string
DisplayName string
PasswordHash string // в DTO UserResponse его не будет
CreatedAt time.Time
}
type Chat struct {
@@ -27,3 +28,10 @@ type Message struct {
Text string
CreatedAt time.Time
}
type Session struct {
TokenHash []byte
UserID string
ExpiresAt time.Time
CreatedAt time.Time
}