saved
This commit is contained in:
10
internal/products/model.go
Normal file
10
internal/products/model.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package products
|
||||
|
||||
type Product struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Price float64 `json:"price"`
|
||||
Stock int `json:"stock"`
|
||||
Images []string `json:"images"`
|
||||
}
|
||||
Reference in New Issue
Block a user