zhangqian
2024-07-03 f45e4cb8045fe60f96f467dc4ea1e2ae57445712
request/product_request.go
@@ -60,3 +60,12 @@
   ProductId   string          `gorm:"column:product_id"`
   TotalAmount decimal.Decimal `gorm:"column:total_amount"`
}
type UnitDict struct {
   Name      string `gorm:"unique;type:varchar(191);not null;comment:名称" json:"name"`
   IsDefault bool   `gorm:"type:tinyint(1);comment:是否默认" json:"isDefault"`
}
type SaveUnitDict struct {
   Data []*UnitDict `json:"data"`
}