draincloud-core/internal/storage/models/auth.go

18 lines
234 B
Go
Raw Normal View History

2024-09-27 22:37:58 +00:00
package models
import "time"
2024-10-19 23:17:27 +00:00
type Session struct {
ID string
User *User
}
2024-09-27 22:37:58 +00:00
type User struct {
ID uint64
Username string
Login string
PasswordHash []byte
CreatedAt time.Time
UpdatedAt time.Time
}