model

package
v0.0.0-...-678aede Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	ID         string `json:"id"`
	CardNumber uint   `json:"cardNumber"`
	CardBrand  string `json:"cardBrand"`
	UserID     string `json:"userId"`
}

type Expense

type Expense struct {
	ID           string    `json:"id"`
	Value        float32   `json:"value"`
	PaymentDate  time.Time `json:"paymentDate"`
	Month        string    `json:"month"`
	Year         string    `json:"year"`
	Installments uint      `json:"installments"`
	Description  string    `json:"description"`
	Type         string    `json:"type"`
	Method       string    `json:"method"`
	Card         Card      `json:"card"`
}

type User

type User struct {
	ID        string `json:"id"`
	UserName  string `json:"userName"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Email     string `json:"email"`
	Password  string `json:"password"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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