entity

package
v0.0.0-...-3ce5cd6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 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 CartItem

type CartItem struct {
	ID      int64
	CartID  string
	Product Product
}

CartItem entity

type Category

type Category struct {
	ID   int64
	Name string
}

Category entity

type Order

type Order struct {
	ID                   string
	CustomerName         string
	CustomerEmail        string
	CustomerAddress      string
	PaymentAmount        int64
	PaymentMethod        string
	PaymentAccountNumber string
	CartItems            []CartItem
}

Order entity

type Product

type Product struct {
	ID          int64
	CategoryID  int64
	Name        string
	Description string
	Photo       string
	Price       int64
}

Product entity

Jump to

Keyboard shortcuts

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