repositories

package
v0.0.0-...-4d895cd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound        = errors.New("entity not found")
	ErrAlreadyExists   = errors.New("entity already exists")
	ErrHasOpenedPeriod = errors.New("has opened period")
)

Functions

This section is empty.

Types

type FindByDatesRequest

type FindByDatesRequest struct {
	StartedAt datetime.DateTime
	EndedAt   datetime.DateTime

	Limit  *uint64
	Offset *uint64

	OrderBy *InvoicesOrderBy
}

type GetAllInvoicesRequest

type GetAllInvoicesRequest struct {
	StartedAt  *datetime.Date
	Limit      *uint64
	Offset     *uint64
	TemplateID *uint64
}

type InvoicesOrderBy

type InvoicesOrderBy string
const (
	OrderByDateAsc  InvoicesOrderBy = "date_asc"
	OrderByDateDesc InvoicesOrderBy = "date_desc"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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