zhangqian
2024-06-14 c73d79fe050e21bc53b3e94b6ca79fd3761d4d17
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"`
}