taskcafe/internal/db/models.go
Jordan Knott 64093e19f6 redesign
2022-05-06 16:44:31 -05:00

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"`
}