entity

package
v0.0.0-...-b772ef3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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 Category

type Category struct {
	Id                int
	Name              string
	TransactionTypeId int
}

type MessageContext

type MessageContext struct {
	Id        int
	ChatId    int64
	MessageId int
	Message   string
	CreatedAt time.Time
}

type MonthlySummary

type MonthlySummary struct {
	Datetime             time.Time
	Amount               int64
	TransactionTypeLabel string
	Multiplier           int64
}

type Transaction

type Transaction struct {
	Id           int
	Datetime     time.Time
	CategoryId   int
	CategoryName string
	Description  string
	UserId       int64
	Amount       int64
	Currency     string
}

type TransactionBreakdown

type TransactionBreakdown struct {
	CategoryName string
	Amount       int64
}

type TransactionType

type TransactionType struct {
	Id         int
	Name       string
	Multiplier int
	ReplyText  string
}

type User

type User struct {
	Id       int64
	Locale   string
	Currency string
	Timezone string
}

Jump to

Keyboard shortcuts

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