This repository has been archived on 2026-04-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
spend-sparrow/internal/budget/types.go
T
tim 2b320986fd
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Failing after 1m11s
feat: add budgets
2026-01-01 19:57:47 +01:00

21 lines
381 B
Go

package budget
import (
"time"
"github.com/google/uuid"
)
type Budget struct {
Id uuid.UUID `db:"id"`
UserId uuid.UUID `db:"user_id"`
Description string `db:"description"`
Value int64 `db:"value"`
CreatedAt time.Time `db:"created_at"`
CreatedBy uuid.UUID `db:"created_by"`
UpdatedAt *time.Time `db:"updated_at"`
UpdatedBy *uuid.UUID `db:"updated_by"`
}