14 lines
668 B
Go
14 lines
668 B
Go
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"`
|
|
}
|