models

package
v0.0.0-...-9737712 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bill

type Bill struct {
	ID                     uuid.UUID       `json:"id"`
	DueDateOfMonth         int             `json:"due_date_of_month"`
	Name                   string          `json:"name"`
	Notes                  string          `json:"notes"`
	AutoPayment            bool            `json:"auto_payment"`
	AutoPaymentDateOfMonth int             `json:"auto_payment_date_of_month"`
	Amount                 decimal.Decimal `json:"amount"`
	PaydayId               uuid.UUID       `json:"payday_id"`
}

type Payday

type Payday struct {
	ID             uuid.UUID `json:"id"`
	PayDateOfMonth int       `json:"pay_date_of_month"`
	UserID         string    `json:"user_id"`
	Bills          []Bill    `json:"bills"`
}

type User

type User struct {
	ID      string
	Name    string
	Paydays []Payday
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL