feat: generated repository for user

This commit is contained in:
2025-05-18 11:48:37 +02:00
parent eec9e5b4c2
commit dbf4c1d88f
3 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,21 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.29.0
package repository
import (
"github.com/google/uuid"
"github.com/jackc/pgx/v5/pgtype"
)
type User struct {
ID uuid.UUID `json:"id"`
Email string `json:"email"`
FullName string `json:"full_name"`
PasswordHash string `json:"password_hash"`
IsAdmin bool `json:"is_admin"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLogin pgtype.Timestamptz `json:"last_login"`
}