draincloud-core/internal/storage/models/auth.go
drainpilled f8f10b7c15 tmp
2024-10-20 05:12:54 -04:00

18 lines
235 B
Go

package models
import "time"
type Session struct {
ID string
User *User
}
type User struct {
ID uint64
Username string
Login string
PasswordHash []byte
CreatedAt time.Time
UpdatedAt time.Time
}