entities

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	OrderID     string    `json:"order_id"`
	Client      string    `json:"client"`
	ClientEmail string    `json:"client_email"`
	Products    []Product `json:"products"`
	Total       float64   `json:"total"`
	Status      string    `json:"status"`
}

type Product

type Product struct {
	ProductID string  `json:"product_id"`
	Quantity  int     `json:"quantity"`
	Price     float64 `json:"price"`
}

Jump to

Keyboard shortcuts

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