budgeteer/postgres/models.go

37 lines
521 B
Go

// Code generated by sqlc. DO NOT EDIT.
package postgres
import (
"database/sql"
"time"
"github.com/google/uuid"
)
type Budget struct {
Name string
LastModification sql.NullTime
ID uuid.UUID
}
type Transaction struct {
ID uuid.UUID
BudgetID uuid.UUID
Date time.Time
Memo sql.NullString
Amount string
}
type User struct {
Email string
Name string
Password string
ID uuid.UUID
}
type UserBudget struct {
UserID uuid.UUID
BudgetID uuid.UUID
}