draincloud-core/internal/storage/models/auth.go
2024-10-19 19:17:27 -04:00

18 lines
234 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
}