23 lines
1.3 KiB
Go
23 lines
1.3 KiB
Go
package orderProductItemResponse
|
|
|
|
import (
|
|
"hospital-admin-api/api/model"
|
|
)
|
|
|
|
type OrderProductItem struct {
|
|
ProductItemId string `json:"product_item_id"` // 主键id
|
|
OrderProductId string `json:"order_product_id"` // 订单-商品订单id
|
|
OrderInquiryId string `json:"order_inquiry_id"` // 订单-问诊id
|
|
OrderPrescriptionId string `json:"order_prescription_id"` // 订单-处方id
|
|
ProductId string `json:"product_id"` // 商品id
|
|
ProductName string `json:"product_name"` // 商品名称
|
|
ProductPrice float64 `json:"product_price"` // 商品价格
|
|
ProductPlatformCode string `json:"product_platform_code"` // 商品处方平台编码
|
|
Amount int `json:"amount"` // 数量
|
|
Manufacturer string `json:"manufacturer"` // 生产厂家
|
|
ProductCoverImg string `json:"product_cover_img"` // 商品封面图
|
|
ProductSpec string `json:"product_spec"` // 商品规格
|
|
CreatedAt model.LocalTime `json:"created_at"` // 创建时间
|
|
UpdatedAt model.LocalTime `json:"updated_at"` // 修改时间
|
|
}
|