RestApiv2/internal/bd/model/user.go

19 lines
333 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
}