refactor(purchase): 移除 PurchaseProduct 中的 MeasureUnit 字段
- 从 PurchaseProduct 结构体中删除了 MeasureUnit 字段 - 此修改旨在简化数据结构并减少冗余信息
This commit is contained in:
parent
5ca73d9075
commit
33db682e9e
@ -79,7 +79,6 @@ type PurchaseProduct struct {
|
|||||||
CurrencyName string // 币种名称
|
CurrencyName string // 币种名称
|
||||||
CurrencySymbol string // 币种符号
|
CurrencySymbol string // 币种符号
|
||||||
CurrencyRate decimal.Decimal // 币种汇率
|
CurrencyRate decimal.Decimal // 币种汇率
|
||||||
MeasureUnit string // 数量单位
|
|
||||||
Batches []PurchaseProductBatch // 产品批次
|
Batches []PurchaseProductBatch // 产品批次
|
||||||
}
|
}
|
||||||
type PurchaseProductBatch struct {
|
type PurchaseProductBatch struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user