refatorando a arquitetura
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
type Product struct {
|
||||
ID int
|
||||
Name string
|
||||
Category string
|
||||
Price float64
|
||||
Quantity int
|
||||
}
|
||||
|
||||
type ProductInput struct {
|
||||
Name string
|
||||
Category string
|
||||
Price float64
|
||||
Quantity int
|
||||
}
|
||||
Reference in New Issue
Block a user