models

package
v0.0.0-...-76fafce Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {
	ID   string
	Name string
}

type Item

type Item struct {
	ProductID   string
	StoreID     string
	ProductName string
	StoreName   string
	Price       float64
	Quantity    int
}

type Order

type Order struct {
	OrderID      string
	CustomerID   string
	CustomerName string
	Items        []Item
	Total        float64
	Status       string
	CreatedAt    time.Time
}

type Product

type Product struct {
	ID      string
	StoreID string
	Name    string
}

type Store

type Store struct {
	ID   string
	Name string
}

Jump to

Keyboard shortcuts

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