You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
3.4 KiB

package orderItem
func (OrderItem) TableName() string {
return "order_item"
}
// OrderItem 表示订单项信息
type OrderItem struct {
ID int64 `json:"id"` // 订单项ID
UserID int64 `json:"user_id"` // 用户ID
OrderID int64 `json:"order_id"` // 订单ID
GoodsID int64 `json:"goods_id"` // 商品ID
GoodsType string `json:"goods_type"` // 商品类型
GoodsSkuPriceID int64 `json:"goods_sku_price_id"` // 商品SKU价格ID
ActivityID int64 `json:"activity_id"` // 活动ID
ActivityType string `json:"activity_type"` // 活动类型
ItemGoodsSkuPriceID int64 `json:"item_goods_sku_price_id"` // 订单项商品SKU价格ID
GoodsSkuText string `json:"goods_sku_text"` // 商品SKU文本
GoodsTitle string `json:"goods_title"` // 商品标题
GoodsImage string `json:"goods_image"` // 商品图片
GoodsOriginalPrice string `json:"goods_original_price"` // 商品原始价格
DiscountFee string `json:"discount_fee"` // 折扣金额
GoodsPrice string `json:"goods_price"` // 商品价格
GoodsNum int64 `json:"goods_num"` // 商品数量
GoodsWeight int64 `json:"goods_weight"` // 商品重量
PayPrice string `json:"pay_price"` // 支付价格
DispatchStatus int64 `json:"dispatch_status"` // 配送状态
DispatchFee string `json:"dispatch_fee"` // 配送费用
DispatchType string `json:"dispatch_type"` // 配送类型
DispatchID int64 `json:"dispatch_id"` // 配送ID
StoreID int64 `json:"store_id"` // 店铺ID
AftersaleStatus int64 `json:"aftersale_status"` // 售后状态
CommentStatus int64 `json:"comment_status"` // 评论状态
RefundStatus int64 `json:"refund_status"` // 退款状态
RefundFee string `json:"refund_fee"` // 退款费用
RefundMsg string `json:"refund_msg"` // 退款消息
ExpressName string `json:"express_name"` // 快递公司名称
ExpressCode string `json:"express_code"` // 快递公司代码
ExpressNo string `json:"express_no"` // 快递单号
Ext string `json:"ext"` // 扩展信息
Createtime int64 `json:"createtime"` // 创建时间
Updatetime int64 `json:"updatetime"` // 更新时间
StatusCode string `json:"status_code"` // 状态编码
StatusName string `json:"status_name"` // 状态名称
StatusDesc string `json:"status_desc"` // 状态描述
Btns []string `json:"btns"` // 按钮列表
ExtArr []ExtArr `json:"ext_arr"` // 扩展信息数组
StatusText string `json:"status_text"` // 状态文本
}
type ExtArr struct {
BuyType string `json:"buy_type"`
GrouponId int64 `json:"groupon_id"`
ExpiredTime int64 `json:"expired_time"`
}