This commit is contained in:
guwandyk committed 2026-08-04 12:50:20 +05:00
1 parent 4194cef934
commit 363127fe9e
3350 files changed
+1284220 -1

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
package auth
import "time"
type LoginDTO struct {
Login string `json:"login" binding:"required" required:"this one failed" `
Password string `json:"password" binding:"required" required:"this one failed"`
}
type ResLoginDTO struct {
Id int `json:"Id"`
Password string `json:"password"`
}
type TokenReqBody struct {
RefreshToken string `json:"refreshToken"`
}
type ReqDTO struct {
Id int `json:"Id"`
}
type ResUserDTO struct {
Id int `json:"Id"`
FullName string `json:"fullName"`
PhoneNumber string `json:"phoneNumber"`
Avatar string `json:"avatar"`
CreatedAt time.Time `json:"createdAt"`
}