entities

package
v0.0.0-...-62087f9 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subcategory

type Subcategory struct {
	ID       primitive.ObjectID `json:"id" bson:"_id"`
	Keywords []string           `json:"keywords" bson:"keywords"`
	Name     string             `json:"name" bson:"name"`
}

type Transaction

type Transaction struct {
	ID             primitive.ObjectID `json:"id" bson:"_id"`
	OriginalTaskID string             `json:"originalId" bson:"originalId"`
	Date           time.Time          `json:"date" bson:"date"`
	CreatedAt      time.Time          `json:"createdAt" bson:"createdAt"`
	ModifiedAt     time.Time          `json:"modifiedAt" bson:"modifiedAt"`
	Description    string             `json:"description" bson:"description"`
	Cost           float64            `json:"value" bson:"value"`
	Category       string             `json:"category" bson:"category"`
	Subcategory    string             `json:"subcategory" bson:"subcategory"`
}

Jump to

Keyboard shortcuts

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