feat(factory): 添加工厂币种相关字段
- 在请求结构体中新增 Currency、CurrencyName、CurrencySymbol 字段 - 在领域模型结构体中新增币种相关字段及注释 - 在响应结构体中新增币种相关字段
This commit is contained in:
@@ -66,6 +66,9 @@ type FactoryItem struct {
|
||||
BanFlag int64 `json:"banFlag"`
|
||||
MaterialQuality string `json:"materialQuality"`
|
||||
InvoiceType string `json:"invoiceType"`
|
||||
Currency string `json:"currency"`
|
||||
CurrencyName string `json:"currencyName"`
|
||||
CurrencySymbol string `json:"currencySymbol"`
|
||||
Status *int64 `json:"status"`
|
||||
CreatedStaffId int64 `json:"createdStaffId"`
|
||||
CreatedAt *time.Time `json:"createdAt"`
|
||||
@@ -96,6 +99,9 @@ type FactoryAdd struct {
|
||||
Origin string // 工厂来源
|
||||
MaterialQuality string // 材质
|
||||
InvoiceType string // 发票
|
||||
Currency string // 币种
|
||||
CurrencyName string // 币种名称
|
||||
CurrencySymbol string // 币种符号
|
||||
BanFlag int64 // 禁用标记 1=禁用 2=正常
|
||||
City string // 所在城市
|
||||
Address string // 工厂地址
|
||||
@@ -171,6 +177,9 @@ type ReplyFactoryInfo struct {
|
||||
BanFlag int64 `json:"banFlag"`
|
||||
MaterialQuality string `json:"materialQuality"`
|
||||
InvoiceType string `json:"invoiceType"`
|
||||
Currency string `json:"currency"`
|
||||
CurrencyName string `json:"currencyName"`
|
||||
CurrencySymbol string `json:"currencySymbol"`
|
||||
Status *int64 `json:"status"`
|
||||
CreatedStaffId int64 `json:"createdStaffId"`
|
||||
CreatedAt *time.Time `json:"createdAt"`
|
||||
|
||||
Reference in New Issue
Block a user