tlm-login-server/internal/models/user.go

16 lines
193 B
Go
Raw Normal View History

2023-12-01 21:19:44 +01:00
package models
import (
"gorm.io/gorm"
"time"
)
type User struct {
gorm.Model
Username string
Email string
PasswordHash []byte
PasswordSalt string
LastLoginAt time.Time
}