model

package
v0.0.0-...-791f436 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validator

func Validator() echo.Validator

Types

type Inventory

type Inventory struct {
	ID        bson.ObjectID `bson:"_id" json:"id"`
	ShortName string        `bson:"short_name" json:"short_name"`
	FullName  string        `bson:"full_name" json:"full_name"`
	Status    string        `bson:"status" json:"status"`
	Stock     int           `bson:"stock" json:"stock"`
	CreatedAt time.Time     `bson:"created_at" json:"created_at"`
	UpdatedAt *time.Time    `bson:"updated_at" json:"updated_at"`
}

Jump to

Keyboard shortcuts

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