package entity
type User struct {
Id uint `gorm:"primaryKey`
Login string `gorm:"unique"`
Firstname string
Lastname string
Email string `gorm:"unique"`
Avatar string
Role int
Password string
Salt []byte
Apikey string `gorm:"unique"`
}