update openapi and add the exists_in_database flag to get-product
This commit is contained in:
@@ -19,6 +19,8 @@ type ProductDescription struct {
|
||||
DeliveryInStock string `gorm:"column:delivery_in_stock;type:varchar(255)" json:"delivery_in_stock" form:"delivery_in_stock"`
|
||||
DeliveryOutStock string `gorm:"column:delivery_out_stock;type:varchar(255)" json:"delivery_out_stock" form:"delivery_out_stock"`
|
||||
Usage string `gorm:"column:usage;type:text" json:"usage" form:"usage"`
|
||||
|
||||
ExistsInDatabse bool `gorm:"-" json:"exists_in_database"`
|
||||
}
|
||||
|
||||
type ProductRow struct {
|
||||
|
||||
Reference in New Issue
Block a user