initial commit

This commit is contained in:
2025-05-22 19:39:08 +08:00
commit 531bb42d01
103 changed files with 10291 additions and 0 deletions

View File

@ -0,0 +1,17 @@
package model
import (
"database/sql"
"time"
"github.com/lib/pq"
)
type User struct {
UserId string `db:"user_id"`
Username string `db:"username"`
Email sql.NullString `db:"email"`
PasswordHash string `db:"password_hash"`
Roles pq.StringArray `db:"roles"`
CreatedAt time.Time `db:"created_at"`
}