models

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InventoryCheck

type InventoryCheck struct {
	ID        uint
	Status    string
	CreatedAt time.Time
}

type InventoryCheckResult

type InventoryCheckResult struct {
	ID               uint
	InventoryCheckID uint
	PositionID       uint
	ExpectedQuantity int
	ActualQuantity   int
	Difference       int
	CreatedAt        time.Time
}

type OrderItem

type OrderItem struct {
	OrderID   uint
	ProductID uint
	CreatedAt time.Time
}

type WarehouseOrder

type WarehouseOrder struct {
	ID        uint
	Type      string
	Status    string
	CreatedAt time.Time
}

type WarehousePosition

type WarehousePosition struct {
	ID        uint
	Title     string
	Barcode   string
	UnitID    uint
	Unit      *WarehouseUnit
	Images    []coremodels.Upload `gorm:"many2many:warehouse_position_images;"`
	CreatedAt time.Time
	UpdatedAt time.Time
}

type WarehousePositionImage added in v0.0.2

type WarehousePositionImage struct {
	UploadID            uint
	WarehousePositionID uint
}

type WarehouseProduct

type WarehouseProduct struct {
	ID         uint
	PositionID uint
	Position   *WarehousePosition
	Rfid       string
	Status     string
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

type WarehouseUnit

type WarehouseUnit struct {
	ID         uint
	Title      string
	ShortTitle string
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

Jump to

Keyboard shortcuts

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