1
This commit is contained in:
@@ -15,6 +15,7 @@ type HealthPackage struct {
|
||||
ServiceRate string `gorm:"column:service_rate;type:varchar(20);comment:服务费率。100为满值,表示1,正常费率。" json:"service_rate"`
|
||||
DiscountProductTotalAmount float64 `gorm:"column:discount_product_total_amount;type:decimal(10,2) unsigned;default:0.00;comment:折扣商品总价格" json:"discount_product_total_amount"`
|
||||
Model
|
||||
HealthPackageProduct []*HealthPackageProduct `gorm:"foreignKey:PackageId;references:package_id" json:"health_package_product"` // 健康包-关联商品
|
||||
}
|
||||
|
||||
func (m *HealthPackage) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user