Files
MiauInv/models/dbmodels.go
2026-06-09 22:50:29 +02:00

11 lines
288 B
Go

package models
type User struct {
ID string `json:"id"`
Username string `json:"username"`
Password string `json:"password"`
Role string `json:"role"`
TwoFactorEnabled bool `json:"two_factor_enabled"`
TwoFactorSecret string `json:"-"`
}