first commit

This commit is contained in:
William Bouzourène 2024-12-20 19:58:37 +01:00
commit 3d986c4ee2
27 changed files with 597 additions and 0 deletions

17
models/users.go Normal file
View file

@ -0,0 +1,17 @@
package models
import (
"database/sql"
"gorm.io/gorm"
)
type User struct {
gorm.Model
Name string
Email string
Password string
TotpSercet sql.NullString
DisabledAt sql.NullTime
IsAdmin bool
}