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 在源仓同一提交上同样失败,属既有缺陷。
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrder is the golang structure for table t_order.
|
||||
type TOrder struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"`
|
||||
ParentOrderId int64 `json:"parentOrderId" orm:"parent_order_id" description:"父订单ID"`
|
||||
ParentOrderSn string `json:"parentOrderSn" orm:"parent_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:"终端客户编号"`
|
||||
AgentId int64 `json:"agentId" orm:"agent_id" description:"渠道编号(销售方)"`
|
||||
OrderType int `json:"orderType" orm:"order_type" description:"订单类型 枚举"`
|
||||
OrderStatus int `json:"orderStatus" orm:"order_status" description:"订单状态 枚举"`
|
||||
ShippingStatus int `json:"shippingStatus" orm:"shipping_status" description:"配送状态 枚举"`
|
||||
ReturnStatus int `json:"returnStatus" orm:"return_status" description:"退货状态 枚举"`
|
||||
Consignee string `json:"consignee" orm:"consignee" description:"收货人姓名"`
|
||||
Mobile string `json:"mobile" orm:"mobile" description:"收货人手机"`
|
||||
Email string `json:"email" orm:"email" description:"收货人邮箱"`
|
||||
Address string `json:"address" orm:"address" description:"详细地址"`
|
||||
AreaCode string `json:"areaCode" orm:"area_code" description:"行政区域代码"`
|
||||
BuyerNote string `json:"buyerNote" orm:"buyer_note" description:"买家备注"`
|
||||
AdminNote string `json:"adminNote" orm:"admin_note" description:"商家备注"`
|
||||
Remark string `json:"remark" orm:"remark" description:"系统备注"`
|
||||
ShippingMethod int `json:"shippingMethod" orm:"shipping_method" description:"发货方式 枚举"`
|
||||
LogisticsId int64 `json:"logisticsId" orm:"logistics_id" description:"快递公司ID"`
|
||||
LogisticsName string `json:"logisticsName" orm:"logistics_name" description:"物流公司名称"`
|
||||
ShippingTypeId int64 `json:"shippingTypeId" orm:"shipping_type_id" description:"配送类型ID"`
|
||||
ShippingTypeName string `json:"shippingTypeName" orm:"shipping_type_name" description:"配送类型名称"`
|
||||
TrackingNo string `json:"trackingNo" orm:"tracking_no" description:"物流单号"`
|
||||
ShippingTime *gtime.Time `json:"shippingTime" orm:"shipping_time" description:"发货时间"`
|
||||
ReceivedTime *gtime.Time `json:"receivedTime" orm:"received_time" description:"收货时间"`
|
||||
PayType int `json:"payType" orm:"pay_type" description:"支付类型 枚举"`
|
||||
PayStatus int `json:"payStatus" orm:"pay_status" description:"支付状态 枚举"`
|
||||
PayOrderSn string `json:"payOrderSn" orm:"pay_order_sn" description:"支付订单编号"`
|
||||
PayTime *gtime.Time `json:"payTime" orm:"pay_time" description:"支付时间"`
|
||||
TotalAmount float64 `json:"totalAmount" orm:"total_amount" description:"订单总金额"`
|
||||
ProductAmount float64 `json:"productAmount" orm:"product_amount" description:"商品总金额"`
|
||||
ShippingFee float64 `json:"shippingFee" orm:"shipping_fee" description:"运费金额"`
|
||||
ServiceFee float64 `json:"serviceFee" orm:"service_fee" description:"服务费金额"`
|
||||
InvoiceFee float64 `json:"invoiceFee" orm:"invoice_fee" description:"发票费金额"`
|
||||
CouponAmount float64 `json:"couponAmount" orm:"coupon_amount" description:"优惠券抵扣金额"`
|
||||
DiscountAmount float64 `json:"discountAmount" orm:"discount_amount" description:"活动优惠金额"`
|
||||
Balance float64 `json:"balance" orm:"balance" description:"余额抵扣金额"`
|
||||
PaidAmount float64 `json:"paidAmount" orm:"paid_amount" description:"已支付总金额"`
|
||||
OnlinePaidAmount float64 `json:"onlinePaidAmount" orm:"online_paid_amount" description:"线上支付金额"`
|
||||
OfflinePaidAmount float64 `json:"offlinePaidAmount" orm:"offline_paid_amount" description:"线下支付金额"`
|
||||
UnpaidAmount float64 `json:"unpaidAmount" orm:"unpaid_amount" description:"未支付金额"`
|
||||
UnrefundAmount float64 `json:"unrefundAmount" orm:"unrefund_amount" description:"未退款金额"`
|
||||
IsNeedCommission int `json:"isNeedCommission" orm:"is_need_commission" description:"是否需要分佣 枚举:yesno_enum"`
|
||||
DistributionStatus int `json:"distributionStatus" orm:"distribution_status" description:"分销分成状态 枚举"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user