zhangqian
2024-06-26 2d911d76bffda47005f8a30eb8f3719316bf43c9
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"`
}