zhangqian
2024-06-12 e5df488268e29b272932e6cc1d2b1e7034590ba0
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"`
}