chore: 初始开源发布
iotlcm-admin-svr:管理后台服务。 - Go module:iotlcm → git.5iot.com/iotlcm-public/iotlcm-admin-svr(729 文件) - 凭据与地址脱敏:JWT signingKey(含代码里的 MustGet 默认值)、 MySQL DSN、Redis 口令、告警邮件发件人邮箱全部改为占位; 私网 IP → 文档地址段;库名 xiujie_admin → iotlcm - 真实手机号/邮箱 → 合法 11 位编造号 / example.com - 移除内部资产:CI 触发器、过时 DDL(sql/db_iotlcm.sql)、 私有依赖 go get 行、明文 registry 登录口令 - 启动 banner 统一 IOTLCM 方块字 + 社区惯例署名 - Dockerfile 改用公共基础镜像 - 拼错的 RADEME.md → README.md,README 重写 - 需要真实数据库的用例改为可用 IOTLCM_TEST_WITH_DB=1 显式启用 - 补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes 数据库 schema 不随本仓发布(生产 DDL 已过时),README 已说明。
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