Files
iotlcm/server/internal/model/entity/t_order_item.go
T
MiFaZhan 2ed5dfa6a1 chore: 初始开源发布
iotlcm-app:小程序端 + 用户端服务。

- app/:uni-app 小程序前端(基于 unibest,MIT)
  - 微信 AppID → YOUR_WX_APPID,uni-app AppID → __UNI__YOURAPPID
  - 内网后端地址 → admin.iotlcm.example.com
  - 应用标题与 unibest 模板 README 重写(保留上游致谢与 MIT 声明)
- server/:GoFrame 用户端服务(基于 XiuAdmin,Apache-2.0)
  - module xiuadmin → git.5iot.com/iotlcm-public/iotlcm-app(360 文件)
  - 支付回调地址 → app.iotlcm.example.com,商户名与应用名泛化
  - 真实手机号 → 合法 11 位编造号(保留号段前 3 位 + 后 4 位)
  - 依赖号码尾部的断言同步更新
  - 补 server/LICENSE(Apache-2.0)
- 移除内部资产:CI 触发器
- 补根 README,LF 行尾 + .gitattributes

已知:TestSysDept_RefreshDeptAncestors 在源仓同一提交上同样失败,属既有缺陷。
2026-10-26 14:01:25 +08:00

46 lines
3.9 KiB
Go

// =================================================================================
// 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:"更新时间"`
}