Lang change

This commit is contained in:
KD committed 2025-03-09 00:54:02 +00:00
1 parent f7720f151b
commit c4d636ee4d
10 files changed
+155 -29

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
package models
type LoginResult struct {
Id int `json:"id"`
Username string `json:"username"`
Token string `json:"token"`
TokenType string `json:"token_type"`
Expiration int `json:"expiration"`
}
-17
View File
@@ -1,17 +0,0 @@
package models
import "time"
type User struct {
Id int `json:"id"`
Username string `json:"username"`
Password string `json:"password"`
Email string `json:"email"`
Phone string `json:"phone"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
EmailVerified bool `json:"email_verified"`
DateCreated time.Time `json:"date_created"`
Status string `json:"status"`
LastLogin time.Time `json:"last_login"`
}