25 lines
496 B
Go
25 lines
496 B
Go
package model
|
|
|
|
type User struct {
|
|
Id int
|
|
Login string `json:"login"`
|
|
Email string `json:"email"`
|
|
Password string `json:"password"`
|
|
Avatar_Url *string
|
|
AccesToken string
|
|
PermisionLVL int
|
|
}
|
|
|
|
type UserData struct {
|
|
Login string
|
|
Email string
|
|
PermisionLVL int
|
|
AccesToken string
|
|
}
|
|
|
|
type SaveItemUpdate struct {
|
|
Login string `json:"login"`
|
|
SaveItemFilms int `json:"SaveItemFilms"`
|
|
SaveItemSiries int `json:"SaveItemSiries"`
|
|
}
|