viewmodels

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 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 Currency

type Currency struct {
	Code   string
	Name   string
	Symbol string
}

type Employee

type Employee struct {
	ID         string
	FirstName  string
	LastName   string
	MiddleName string
	Email      string
	Phone      string
	Salary     string
	CreatedAt  string
	UpdatedAt  string
}

type Expense

type Expense struct {
	ID                 string
	Amount             string
	AccountID          string
	AmountWithCurrency string
	CategoryID         string
	Category           *ExpenseCategory
	Comment            string
	TransactionID      string
	AccountingPeriod   string
	Date               string
	CreatedAt          string
	UpdatedAt          string
}

type ExpenseCategory

type ExpenseCategory struct {
	ID                 string
	Name               string
	Amount             string
	AmountWithCurrency string
	CurrencyCode       string
	Description        string
	CreatedAt          string
	UpdatedAt          string
}

type MoneyAccount

type MoneyAccount struct {
	ID                  string
	Name                string
	AccountNumber       string
	Description         string
	Balance             string
	BalanceWithCurrency string
	CurrencyCode        string
	CurrencySymbol      string
	CreatedAt           string
	UpdatedAt           string

	EditURL string
}

type MoneyAccountCreateDTO

type MoneyAccountCreateDTO struct {
	Name          string
	Description   string
	AccountNumber string
	Balance       string
	CurrencyCode  string
}

type MoneyAccountUpdateDTO

type MoneyAccountUpdateDTO struct {
	Name          string
	Description   string
	AccountNumber string
	Balance       string
	CurrencyCode  string
}

type Payment

type Payment struct {
	ID                 string
	StageID            string
	Amount             string
	AmountWithCurrency string
	AccountID          string
	TransactionID      string
	TransactionDate    string
	AccountingPeriod   string
	Comment            string
	CreatedAt          string
	UpdatedAt          string
}

type Project

type Project struct {
	ID          string
	Name        string
	Description string
	CreatedAt   string
	UpdatedAt   string
}

type ProjectStage

type ProjectStage struct {
	ID        string
	Name      string
	ProjectID string
	Margin    string
	Risks     string
	CreatedAt string
	UpdatedAt string
}

type Upload

type Upload struct {
	ID        string
	Hash      string
	URL       string
	Name      string
	Mimetype  string
	Size      string
	CreatedAt string
	UpdatedAt string
}

type User

type User struct {
	ID         string
	FirstName  string
	LastName   string
	MiddleName string
	Email      string
	UILanguage string
	CreatedAt  string
	UpdatedAt  string
	AvatarID   string
	Avatar     *Upload
}

func (*User) FullName

func (u *User) FullName() string

func (*User) Initials

func (u *User) Initials() string

Jump to

Keyboard shortcuts

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