model/purchase/purchase_products.go
@@ -16,3 +16,7 @@ Total decimal.Decimal `json:"total" form:"total" gorm:"type:decimal(12,2);not null;default 0.00;comment:采购总价"` // 采购总价 Remark string `json:"remark" form:"remark" gorm:"type:varchar(1000);not null; default '';comment:描述"` //描述 } func (PurchaseProducts) TableName() string { return "srm_purchase_products" }