viewmodels

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Position

type Position struct {
	ID        string
	Title     string
	Barcode   string
	UnitID    string
	Unit      Unit
	Images    []*viewmodels.Upload
	CreatedAt string
	UpdatedAt string
}

type Product

type Product struct {
	ID         string
	PositionID string
	Position   *Position
	Rfid       string
	Status     string
	CreatedAt  string
	UpdatedAt  string
}

func (*Product) LocalizedStatus

func (p *Product) LocalizedStatus(l *i18n.Localizer) string

type Unit

type Unit struct {
	ID         string
	Title      string
	ShortTitle string
	CreatedAt  string
	UpdatedAt  string
}

Jump to

Keyboard shortcuts

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