2024-11-14 01:34:29 +01:00
|
|
|
package model
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
2024-11-15 23:48:35 +01:00
|
|
|
type AccountContextKey struct{}
|
|
|
|
|
2024-11-14 01:34:29 +01:00
|
|
|
type Account struct {
|
|
|
|
Id int
|
|
|
|
Username string
|
|
|
|
Password string
|
|
|
|
IsAdmin bool
|
|
|
|
Created time.Time
|
|
|
|
LastLogin time.Time
|
|
|
|
Settings any
|
|
|
|
}
|