inventory

package
v0.0.0-...-a9fa8a7 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 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 Inventory

type Inventory struct {
	Id     primitive.ObjectID `json:"_id" bson:"_id,omitempty"`
	UserId string             `json:"user_id" bson:"user_id"`
	NftId  string             `json:"nft_id" bson:"nft_id"`
}

type InventorySearchReq

type InventorySearchReq struct {
	models.PaginateReq
}

type NftInInventory

type NftInInventory struct {
	InventoryId string `json:"inventory_id"`
	UserId      string `json:"user_id"`
	*nft.NftShowCase
}

type UpdateInventoryReq

type UpdateInventoryReq struct {
	UserId string `json:"user_id" validate:"required,max=64"`
	NftId  string `json:"nft_id" validate:"required,max=64"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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