2023-01-07 14:19:53 +03:00
|
|
|
package model
|
|
|
|
|
|
|
|
type User struct {
|
|
|
|
Id int
|
2023-04-14 17:35:25 +03:00
|
|
|
Login string `json:"login"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
Password string `json:"password"`
|
2023-05-02 11:02:06 +03:00
|
|
|
Avatar_Url *string
|
|
|
|
AccesToken string
|
2023-01-07 14:19:53 +03:00
|
|
|
PermisionLVL int
|
|
|
|
}
|
2023-05-02 11:02:06 +03:00
|
|
|
|
|
|
|
type UserData struct {
|
|
|
|
Login string
|
|
|
|
Email string
|
|
|
|
PermisionLVL int
|
|
|
|
AccesToken string
|
|
|
|
}
|