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

15 lines
193 B
Go

package models
import (
"gorm.io/gorm"
"time"
)
type User struct {
gorm.Model
Username string
Email string
PasswordHash []byte
PasswordSalt string
LastLoginAt time.Time
}