// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // TOrderItem is the golang structure for table t_order_item. type TOrderItem struct { ItemId int64 `json:"itemId" orm:"item_id" description:"订单商品信息自增id"` OrderId int64 `json:"orderId" orm:"order_id" description:"订单ID"` OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"` CustomerType int `json:"customerType" orm:"customer_type" description:"客户类型 枚举"` CustomerAgentId int64 `json:"customerAgentId" orm:"customer_agent_id" description:"渠道编号(购买方)"` EndUserId int64 `json:"endUserId" orm:"end_user_id" description:"客户编号"` Price float64 `json:"price" orm:"price" description:"商品最终单价"` Quantity uint `json:"quantity" orm:"quantity" description:"商品的购买数量"` ProductId int64 `json:"productId" orm:"product_id" description:"商品ID"` ProductName string `json:"productName" orm:"product_name" description:"商品的名称"` ProductSn string `json:"productSn" orm:"product_sn" description:"商品的唯一货号"` PicThumb string `json:"picThumb" orm:"pic_thumb" description:"商品缩略图"` SkuId int64 `json:"skuId" orm:"sku_id" description:"规格ID"` SkuData string `json:"skuData" orm:"sku_data" description:"【JSON】sku信息[{sku_id,sku_value,sku_name}]"` DeliveryQuantity uint `json:"deliveryQuantity" orm:"delivery_quantity" description:"发货数量"` ProductType uint `json:"productType" orm:"product_type" description:"商品类型 枚举"` IsGift uint `json:"isGift" orm:"is_gift" description:"是否为赠品 枚举:yesno_enum"` AgentId int64 `json:"agentId" orm:"agent_id" description:"渠道编号(销售方)"` PrepayPrice float64 `json:"prepayPrice" orm:"prepay_price" description:"预售价格"` Commission string `json:"commission" orm:"commission" description:"佣金数据"` OriginPrice float64 `json:"originPrice" orm:"origin_price" description:"商品初始价格"` PromotionData string `json:"promotionData" orm:"promotion_data" description:"优惠信息"` ExtraSkuData string `json:"extraSkuData" orm:"extra_sku_data" description:"附加属性"` PayMode int `json:"payMode" orm:"pay_mode" description:"付费方式 枚举"` ServiceBeginTime *gtime.Time `json:"serviceBeginTime" orm:"service_begin_time" description:"服务开始时间"` ServiceEndTime *gtime.Time `json:"serviceEndTime" orm:"service_end_time" description:"服务结束时间"` TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"` CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"` CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"` CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"` UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` }