first commit, i i have no idea what i have done

This commit is contained in:
tdv
2025-08-31 22:42:08 +03:00
commit c5632f6a37
177 changed files with 9173 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package dto
type AuthDto struct {
Username string `json:"username" binding:"required"`
Password string `json:"password" binding:"required"`
}
type AccessTokenDto struct {
AccessToken string `json:"accessToken"`
}
type ChangePasswordDto struct {
UserID uint `json:"userId,omitempty"`
OldPassword string `json:"oldPassword"`
NewPassword string `json:"newPassword" binding:"required"`
}
type CheckTokenResultDto struct {
IsValid bool `json:"isValid"`
}