28 lines
663 B
Go
28 lines
663 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
package db
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type AccessToken struct {
|
|
Token string `json:"token"`
|
|
UserID uuid.UUID `json:"user_id"`
|
|
ExpiresAt time.Time `json:"expires_at"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|
|
|
|
type UserAccount struct {
|
|
UserID uuid.UUID `json:"user_id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
Fullname string `json:"fullname"`
|
|
Username string `json:"username"`
|
|
Email string `json:"email"`
|
|
PasswordHash string `json:"password_hash"`
|
|
AvatarUrl sql.NullString `json:"avatar_url"`
|
|
}
|