Lang change

This commit is contained in:
KD
2025-03-09 00:54:02 +00:00
parent f7720f151b
commit c4d636ee4d
10 changed files with 155 additions and 29 deletions

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"`
}

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"`
}