entity

package
v0.0.0-...-272d833 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 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 Product

type Product struct {
	ID        int           `db:"id"         json:"id"`
	Name      string        `db:"name"       json:"name"`
	Active    bool          `db:"active"     json:"active"`
	Discount  float32       `db:"discount"   json:"discount"`
	Price     int           `db:"price"      json:"price"`
	CreatedAt time.Time     `db:"created_at" json:"created_at"`
	Status    ProductStatus `db:"status"     json:"status"`
}

Product product entity

type ProductStatus

type ProductStatus int

Jump to

Keyboard shortcuts

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