feat: product_attribute list with prices
This commit is contained in:
13
app/view/product.go
Normal file
13
app/view/product.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package view
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
type ProductAttribute struct {
|
||||
IDProductAttribute int64 `gorm:"column:id_product_attribute" json:"id_product_attribute"`
|
||||
Reference string `gorm:"column:reference" json:"reference"`
|
||||
BasePrice float64 `gorm:"column:base_price" json:"base_price"`
|
||||
PriceTaxExcl float64 `gorm:"column:price_tax_excl" json:"price_tax_excl"`
|
||||
PriceTaxIncl float64 `gorm:"column:price_tax_incl" json:"price_tax_incl"`
|
||||
Quantity int64 `gorm:"column:quantity" json:"quantity"`
|
||||
Attributes json.RawMessage `gorm:"column:attributes" json:"attributes"`
|
||||
}
|
||||
Reference in New Issue
Block a user