models/outsourcing_order_product.go
@@ -16,6 +16,7 @@ ProductId string `gorm:"type:varchar(191);comment:产品id" json:"productId"` ProductName string `gorm:"type:varchar(191);comment:产品名称" json:"productName"` Specs string `gorm:"type:varchar(191);comment:物料规格" json:"specs"` Type string `gorm:"type:varchar(191);comment:物料型号" json:"type"` Amount int64 `gorm:"type:int(11);comment:订单数量" json:"amount"` Unit string `gorm:"type:varchar(100);comment:单位" json:"unit"` BomID string `gorm:"type:varchar(255);default '';comment:bomID" json:"bomID"`