update openapi and add the exists_in_database flag to get-product

This commit is contained in:
Daniel Goc
2026-03-31 12:00:30 +02:00
parent fa89723eb6
commit 1fa6206b75
4 changed files with 165 additions and 50 deletions

View File

@@ -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 {