purchaseorder

package
v0.0.0-...-d081b09 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PurchaseOrder

type PurchaseOrder struct {
	// contains filtered or unexported fields
}

PurchaseOrder struct that implement the interface domain.purchaseorder.Storage

func New

func New(db *pgxpool.Pool) PurchaseOrder

New returns a new PurchaseOrder storage

func (PurchaseOrder) Create

func (p PurchaseOrder) Create(m *model.PurchaseOrder) error

Create creates a model.PurchaseOrder

func (PurchaseOrder) GetByID

func (p PurchaseOrder) GetByID(ID uuid.UUID) (model.PurchaseOrder, error)

Jump to

Keyboard shortcuts

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