models

package
v0.0.0-...-066eb12 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigNumbers

type BigNumbers struct {
	RemainingDays int     `json:"remainingDays"`
	Total         float64 `json:"total"`
}

type Bill

type Bill struct {
	Id        int       `json:"id"`
	Title     string    `json:"title"`
	Price     float64   `json:"price"`
	Company   string    `json:"company"`
	Tag       string    `json:"tag"`
	TimeStamp time.Time `json:"timeStamp"`
}

type BillID

type BillID struct {
	ID uint `json:"id"`
}

type Bills

type Bills struct {
	ID        uint    `json:"id"`
	Title     string  `json:"title"`
	Price     float64 `json:"price"`
	CompanyID uint    `json:"company_id"`
	TagID     uint    `json:"tag_id"`
	DateID    uint    `json:"date_id"`
}

type ByDay

type ByDay struct {
	TimeStamp string  `json:"time_stamp"`
	Total     float64 `json:"total"`
}

type ByTag

type ByTag struct {
	Tag   string  `json:"tag"`
	Total float64 `json:"total"`
}

type Companies

type Companies struct {
	ID   uint   `json:"value"`
	Name string `json:"label"`
}

type DateQuery

type DateQuery struct {
	Month string `json:"month"`
	Year  string `json:"year"`
}

type Dates

type Dates struct {
	ID        uint      `json:"id"`
	TimeStamp time.Time `json:"time_stamp"`
}

type MonthSelector

type MonthSelector struct {
	Month string `json:"month"`
}

type Res

type Res struct {
	Title        string `json:"title"`
	Price        string `json:"price"`
	IsNewCompany bool   `json:"isnewCompany"`
	Company      string `json:"company"`
	IsNewTag     bool   `json:"isNewTag"`
	Tag          string `json:"tag"`
	Date         string `json:"date"`
}

type Tags

type Tags struct {
	ID   uint   `json:"value"`
	Name string `json:"label"`
}

Jump to

Keyboard shortcuts

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