feat: add Go backend

This commit is contained in:
richjohnrambo
2026-10-10 20:56:17 +08:00
parent 50fcfd2d3d
commit f6024f0964
1040 changed files with 107169 additions and 0 deletions
View File
+53
View File
@@ -0,0 +1,53 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AddonHgexampleTable is the golang structure of table hg_addon_hgexample_table for DAO operations like Where/Data.
type AddonHgexampleTable struct {
g.Meta `orm:"table:hg_addon_hgexample_table, do:true"`
Id any // ID
Pid any // 上级ID
Level any // 树等级
Tree any // 关系树
CategoryId any // 分类ID
Flag *gjson.Json // 标签
Title any // 标题
Description any // 描述
Content any // 内容
Image any // 单图
Images *gjson.Json // 多图
Attachfile any // 附件
Attachfiles *gjson.Json // 多附件
Map *gjson.Json // 动态键值对
Star any // 推荐星
Price any // 价格
Views any // 浏览次数
ActivityAt *gtime.Time // 活动时间
StartAt *gtime.Time // 开启时间
EndAt *gtime.Time // 结束时间
Switch any // 开关
Sort any // 排序
Avatar any // 头像
Sex any // 性别
Qq any // qq
Email any // 邮箱
Mobile any // 手机号码
Hobby *gjson.Json // 爱好
Channel any // 渠道
CityId any // 所在城市
Remark any // 备注
Status any // 状态
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间
}
+26
View File
@@ -0,0 +1,26 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AddonHgexampleTenantOrder is the golang structure of table hg_addon_hgexample_tenant_order for DAO operations like Where/Data.
type AddonHgexampleTenantOrder struct {
g.Meta `orm:"table:hg_addon_hgexample_tenant_order, do:true"`
Id any // 主键
TenantId any // 租户ID
MerchantId any // 商户ID
UserId any // 用户ID
ProductName any // 购买产品
OrderSn any // 订单号
Money any // 充值金额
Remark any // 备注
Status any // 订单状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+25
View File
@@ -0,0 +1,25 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminCash is the golang structure of table hg_admin_cash for DAO operations like Where/Data.
type AdminCash struct {
g.Meta `orm:"table:hg_admin_cash, do:true"`
Id any // ID
MemberId any // 管理员ID
Money any // 提现金额
Fee any // 手续费
LastMoney any // 最终到账金额
Ip any // 申请人IP
Status any // 状态码
Msg any // 处理结果
HandleAt *gtime.Time // 处理时间
CreatedAt *gtime.Time // 申请时间
}
+30
View File
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminCreditsLog is the golang structure of table hg_admin_credits_log for DAO operations like Where/Data.
type AdminCreditsLog struct {
g.Meta `orm:"table:hg_admin_credits_log, do:true"`
Id any // 变动ID
MemberId any // 管理员ID
AppId any // 应用id
AddonsName any // 插件名称
CreditType any // 变动类型
CreditGroup any // 变动组别
BeforeNum any // 变动前
Num any // 变动数据
AfterNum any // 变动后
Remark any // 备注
Ip any // 操作人IP
MapId any // 关联ID
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+29
View File
@@ -0,0 +1,29 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminDept is the golang structure of table hg_admin_dept for DAO operations like Where/Data.
type AdminDept struct {
g.Meta `orm:"table:hg_admin_dept, do:true"`
Id any // 部门ID
Pid any // 父部门ID
Name any // 部门名称
Code any // 部门编码
Type any // 部门类型
Leader any // 负责人
Phone any // 联系电话
Email any // 邮箱
Level any // 关系树等级
Tree any // 关系树
Sort any // 排序
Status any // 部门状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+44
View File
@@ -0,0 +1,44 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminMember is the golang structure of table hg_admin_member for DAO operations like Where/Data.
type AdminMember struct {
g.Meta `orm:"table:hg_admin_member, do:true"`
Id any // 管理员ID
DeptId any // 部门ID
RoleId any // 角色ID
RealName any // 真实姓名
Username any // 帐号
PasswordHash any // 密码
Salt any // 密码盐
PasswordResetToken any // 密码重置令牌
Integral any // 积分
Balance any // 余额
Avatar any // 头像
Sex any // 性别
Qq any // qq
Email any // 邮箱
Mobile any // 手机号码
Birthday *gtime.Time // 生日
CityId any // 城市编码
Address any // 联系地址
Pid any // 上级管理员ID
Level any // 关系树等级
Tree any // 关系树
InviteCode any // 邀请码
Cash *gjson.Json // 提现配置
LastActiveAt *gtime.Time // 最后活跃时间
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+16
View File
@@ -0,0 +1,16 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// AdminMemberPost is the golang structure of table hg_admin_member_post for DAO operations like Where/Data.
type AdminMemberPost struct {
g.Meta `orm:"table:hg_admin_member_post, do:true"`
MemberId any // 管理员ID
PostId any // 岗位ID
}
+16
View File
@@ -0,0 +1,16 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// AdminMemberRole is the golang structure of table hg_admin_member_role for DAO operations like Where/Data.
type AdminMemberRole struct {
g.Meta `orm:"table:hg_admin_member_role, do:true"`
MemberId any // 管理员ID
RoleId any // 角色ID
}
+41
View File
@@ -0,0 +1,41 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminMenu is the golang structure of table hg_admin_menu for DAO operations like Where/Data.
type AdminMenu struct {
g.Meta `orm:"table:hg_admin_menu, do:true"`
Id any // 菜单ID
Pid any // 父菜单ID
Level any // 关系树等级
Tree any // 关系树
Title any // 菜单名称
Name any // 名称编码
Path any // 路由地址
Icon any // 菜单图标
Type any // 菜单类型(1目录 2菜单 3按钮)
Redirect any // 重定向地址
Permissions any // 菜单包含权限集合
PermissionName any // 权限名称
Component any // 组件路径
AlwaysShow any // 取消自动计算根路由模式
ActiveMenu any // 高亮菜单编码
IsRoot any // 是否跟路由
IsFrame any // 是否内嵌
FrameSrc any // 内联外部地址
KeepAlive any // 缓存该路由
Hidden any // 是否隐藏
Affix any // 是否固定
Sort any // 排序
Remark any // 备注
Status any // 菜单状态
UpdatedAt *gtime.Time // 更新时间
CreatedAt *gtime.Time // 创建时间
}
+30
View File
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminNotice is the golang structure of table hg_admin_notice for DAO operations like Where/Data.
type AdminNotice struct {
g.Meta `orm:"table:hg_admin_notice, do:true"`
Id any // 公告ID
Title any // 公告标题
Type any // 公告类型
Tag any // 标签
Content any // 公告内容
Receiver *gjson.Json // 接收者
Remark any // 备注
Sort any // 排序
Status any // 公告状态
CreatedBy any // 发送人
UpdatedBy any // 修改人
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
+21
View File
@@ -0,0 +1,21 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminNoticeRead is the golang structure of table hg_admin_notice_read for DAO operations like Where/Data.
type AdminNoticeRead struct {
g.Meta `orm:"table:hg_admin_notice_read, do:true"`
Id any // 记录ID
NoticeId any // 公告ID
MemberId any // 会员ID
Clicks any // 已读次数
UpdatedAt *gtime.Time // 更新时间
CreatedAt *gtime.Time // 阅读时间
}
+30
View File
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminOauth is the golang structure of table hg_admin_oauth for DAO operations like Where/Data.
type AdminOauth struct {
g.Meta `orm:"table:hg_admin_oauth, do:true"`
Id any // 主键
MemberId any // 用户ID
Unionid any // 唯一ID
OauthClient any // 授权组别
OauthOpenid any // 授权开放ID
Sex any // 性别
Nickname any // 昵称
HeadPortrait any // 头像
Birthday *gtime.Time // 生日
Country any // 国家
Province any // 省
City any // 市
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+27
View File
@@ -0,0 +1,27 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminOrder is the golang structure of table hg_admin_order for DAO operations like Where/Data.
type AdminOrder struct {
g.Meta `orm:"table:hg_admin_order, do:true"`
Id any // 主键
MemberId any // 管理员id
OrderType any // 订单类型
ProductId any // 产品id
OrderSn any // 关联订单号
Money any // 充值金额
Remark any // 备注
RefundReason any // 退款原因
RejectRefundReason any // 拒绝退款原因
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+23
View File
@@ -0,0 +1,23 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminPost is the golang structure of table hg_admin_post for DAO operations like Where/Data.
type AdminPost struct {
g.Meta `orm:"table:hg_admin_post, do:true"`
Id any // 岗位ID
Code any // 岗位编码
Name any // 岗位名称
Remark any // 备注
Sort any // 排序
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+29
View File
@@ -0,0 +1,29 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AdminRole is the golang structure of table hg_admin_role for DAO operations like Where/Data.
type AdminRole struct {
g.Meta `orm:"table:hg_admin_role, do:true"`
Id any // 角色ID
Name any // 角色名称
Key any // 角色权限字符串
DataScope any // 数据范围
CustomDept *gjson.Json // 自定义部门权限
Pid any // 上级角色ID
Level any // 关系树等级
Tree any // 关系树
Remark any // 备注
Sort any // 排序
Status any // 角色状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// AdminRoleCasbin is the golang structure of table hg_admin_role_casbin for DAO operations like Where/Data.
type AdminRoleCasbin struct {
g.Meta `orm:"table:hg_admin_role_casbin, do:true"`
Id any //
PType any //
V0 any //
V1 any //
V2 any //
V3 any //
V4 any //
V5 any //
}
+16
View File
@@ -0,0 +1,16 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// AdminRoleMenu is the golang structure of table hg_admin_role_menu for DAO operations like Where/Data.
type AdminRoleMenu struct {
g.Meta `orm:"table:hg_admin_role_menu, do:true"`
RoleId any // 角色ID
MenuId any // 菜单ID
}
+44
View File
@@ -0,0 +1,44 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMember is the golang structure of table hg_app_member for DAO operations like Where/Data.
type AppMember struct {
g.Meta `orm:"table:hg_app_member, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberNo any // 会员编号
Username any // 用户名
MobileCipher any // 手机号密文(AES-GCM)
MobileHash any // 手机号检索哈希(HMAC-SHA256)
MobileMask any // 手机号脱敏值
PasswordHash any // 登录密码哈希(bcrypt)
TradePasswordHash any // 交易密码哈希
LevelId any // 会员等级ID
ParentId any // 上级会员ID
Level any // 团队层级
Tree any // 关系树
InviteCode any // 邀请码
MemberStatus any // 会员状态
RiskStatus any // 风控状态
AutoDispatch any // 自动派单
CreditScore any // 信用分
IsTestAccount any // 测试账号
LastLoginAt *gtime.Time // 最后登录时间
LastLoginIpCipher any // 最后登录IP密文
LastLoginIpMask any // 最后登录IP脱敏值
LastLoginRegion any // 最后登录地区
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 注销时间
}
@@ -0,0 +1,34 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberAddress is the golang structure of table hg_app_member_address for DAO operations like Where/Data.
type AppMemberAddress struct {
g.Meta `orm:"table:hg_app_member_address, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberId any // 会员ID
ReceiverCipher any // 收货人密文
ReceiverMask any // 收货人脱敏值
MobileCipher any // 手机号密文
MobileMask any // 手机号脱敏值
Province any // 省
City any // 市
District any // 区县
AddressCipher any // 详细地址密文
AddressMask any // 详细地址脱敏值
IsDefault any // 默认地址
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,32 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberLevel is the golang structure of table hg_app_member_level for DAO operations like Where/Data.
type AppMemberLevel struct {
g.Meta `orm:"table:hg_app_member_level, do:true"`
Id any // 主键
TenantId any // 租户ID
LevelCode any // 稳定等级编码
Name any // 等级名称
IconAttachmentId any // 图标附件ID
IconUrl any // 图标URL
CurrentVersionId any // 当前发布版本ID
MemberCount any // 会员数(可重建)
Status any // 状态 1正常 2停用
Sort any // 排序
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,37 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberLevelVersion is the golang structure of table hg_app_member_level_version for DAO operations like Where/Data.
type AppMemberLevelVersion struct {
g.Meta `orm:"table:hg_app_member_level_version, do:true"`
Id any // 主键
TenantId any // 租户ID
LevelId any // 等级ID
VersionNo any // 版本号
UpgradeAmount any // 升级金额(分)
GiftAmount any // 赠送金额(分)
DailyOrderLimit any // 每日接单次数
CommissionRate any // 佣金万分比
DailyWithdrawLimit any // 每日提现次数
RuleJson *gjson.Json // 扩展规则快照
PublishStatus any // 发布状态
EffectiveAt *gtime.Time // 计划生效时间
PublishedAt *gtime.Time // 发布时间
ApprovalRequestId any // 审批单ID
BaseVersionId any // 基础版本ID
Version any // 乐观锁
Remark any // 变更说明
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberNotice is the golang structure of table hg_app_member_notice for DAO operations like Where/Data.
type AppMemberNotice struct {
g.Meta `orm:"table:hg_app_member_notice, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberId any // 会员ID,0为全体
Title any // 标题
Content any // 内容
SourceType any // 来源 1真实通知 2运营模拟
StartAt *gtime.Time // 开始时间
EndAt *gtime.Time // 结束时间
NoticeStatus any // 状态 1有效 2撤回
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,37 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberPaymentAccount is the golang structure of table hg_app_member_payment_account for DAO operations like Where/Data.
type AppMemberPaymentAccount struct {
g.Meta `orm:"table:hg_app_member_payment_account, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberId any // 会员ID
AccountType any // 账户类型
BankCode any // 银行编码
BankName any // 银行名称
HolderCipher any // 持有人密文
HolderMask any // 持有人脱敏值
MobileCipher any // 预留手机号密文
MobileMask any // 预留手机号脱敏值
AccountNoCipher any // 账号密文
AccountNoHash any // 账号检索哈希
AccountNoMask any // 账号脱敏值
QrAttachmentId any // 收款码附件ID
VerifyStatus any // 核验状态
IsDefault any // 默认账户
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberProfile is the golang structure of table hg_app_member_profile for DAO operations like Where/Data.
type AppMemberProfile struct {
g.Meta `orm:"table:hg_app_member_profile, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberId any // 会员ID
RealNameCipher any // 真实姓名密文
RealNameMask any // 真实姓名脱敏值
IdNoCipher any // 证件号密文
IdNoHash any // 证件号检索哈希
IdNoMask any // 证件号脱敏值
AvatarAttachmentId any // 头像附件ID
KycStatus any // 实名状态
KycVerifiedAt *gtime.Time // 实名时间
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,27 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// AppMemberStatusLog is the golang structure of table hg_app_member_status_log for DAO operations like Where/Data.
type AppMemberStatusLog struct {
g.Meta `orm:"table:hg_app_member_status_log, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberId any // 会员ID
FromStatus any // 原状态
ToStatus any // 目标状态
ReasonCode any // 原因编码
ReasonText any // 原因说明
EffectiveAt *gtime.Time // 生效时间
ExpireAt *gtime.Time // 失效时间
ApprovalRequestId any // 审批单ID
OperatorId any // 执行人
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// ApprovalAction is the golang structure of table hg_approval_action for DAO operations like Where/Data.
type ApprovalAction struct {
g.Meta `orm:"table:hg_approval_action, do:true"`
Id any // 主键
TenantId any // 租户ID
ApprovalRequestId any // 审批请求ID
StepNo any // 节点顺序
ActorId any // 操作人
Action any // 审批动作
ReasonCode any // 原因编码
Comment any // 审批意见
SnapshotJson *gjson.Json // 操作时快照
ActorIpCipher any // 操作IP密文
MfaVerified any // 是否二次认证
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,40 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// ApprovalRequest is the golang structure of table hg_approval_request for DAO operations like Where/Data.
type ApprovalRequest struct {
g.Meta `orm:"table:hg_approval_request, do:true"`
Id any // 主键
TenantId any // 租户ID
ApprovalNo any // 审批单号
ApprovalType any // 审批类型
TargetType any // 目标类型
TargetId any // 目标ID
Action any // 拟执行动作
Title any // 审批标题
PayloadJson *gjson.Json // 待执行数据快照
DiffJson *gjson.Json // 前后差异
RiskLevel any // 风险级别
RequiredApprovals any // 需要通过数
ApprovalStatus any // 审批状态
ApplicantId any // 申请人
SubmittedAt *gtime.Time // 提交时间
DecidedAt *gtime.Time // 决定时间
ExecutedAt *gtime.Time // 执行时间
ExpireAt *gtime.Time // 超时时间
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+36
View File
@@ -0,0 +1,36 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// Banner is the golang structure of table hg_banner for DAO operations like Where/Data.
type Banner struct {
g.Meta `orm:"table:hg_banner, do:true"`
Id any // 主键
TenantId any // 租户ID
Name any // 后台名称
Position any // 投放位置
ImageAttachmentId any // 图片附件ID
ImageUrl any // 图片URL
AltText any // 替代文本
TargetType any // 跳转类型
TargetValue any // 跳转值
StartAt *gtime.Time // 开始时间
EndAt *gtime.Time // 结束时间
PublishStatus any // 发布状态
Sort any // 排序
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
+34
View File
@@ -0,0 +1,34 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// BizAuditLog is the golang structure of table hg_biz_audit_log for DAO operations like Where/Data.
type BizAuditLog struct {
g.Meta `orm:"table:hg_biz_audit_log, do:true"`
Id any // 主键
TenantId any // 租户ID
AuditNo any // 审计号
ActorType any // 操作人类型
ActorId any // 操作人ID
Module any // 业务模块
Action any // 操作动作
TargetType any // 目标类型
TargetId any // 目标ID
BeforeDigest any // 变更前摘要
AfterDigest any // 变更后摘要
ChangeJson *gjson.Json // 已脱敏差异
Reason any // 操作原因
ApprovalNo any // 审批单号
TraceId any // 链路ID
PrevHash any // 前一条哈希
RowHash any // 当前行哈希
CreatedAt *gtime.Time // 创建时间
}
+32
View File
@@ -0,0 +1,32 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// Content is the golang structure of table hg_content for DAO operations like Where/Data.
type Content struct {
g.Meta `orm:"table:hg_content, do:true"`
Id any // 主键
TenantId any // 租户ID
ContentKey any // 稳定内容标识
ContentType any // 内容类型
Title any // 后台标题
PublishedVersionId any // 当前发布版本ID
PublishStatus any // 发布状态
PublishedAt *gtime.Time // 发布时间
Sort any // 排序
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,31 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// ContentVersion is the golang structure of table hg_content_version for DAO operations like Where/Data.
type ContentVersion struct {
g.Meta `orm:"table:hg_content_version, do:true"`
Id any // 主键
TenantId any // 租户ID
ContentId any // 内容ID
VersionNo any // 版本号
Title any // 展示标题
Summary any // 摘要
BodyHtml any // 清洗后HTML
BodyText any // 降级文本
CoverUrl any // 封面图片URL
AssetIds *gjson.Json // 引用附件ID
PublishStatus any // 发布状态
EffectiveAt *gtime.Time // 计划生效时间
ApprovalRequestId any // 审批单ID
CreatedBy any // 创建者
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,35 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// CustomerService is the golang structure of table hg_customer_service for DAO operations like Where/Data.
type CustomerService struct {
g.Meta `orm:"table:hg_customer_service, do:true"`
Id any // 主键
TenantId any // 租户ID
ServiceCode any // 客服编码
Name any // 客服名称
AvatarUrl any // 头像地址
WorkTime any // 工作时间说明
OnlineStatus any // 在线状态
ServiceUrl any // 客服跳转URL
BackupContact any // 备用联系方式
SessionMapping *gjson.Json // 第三方会话映射
Status any // 状态
Sort any // 排序
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,26 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// DashboardDailyStat is the golang structure of table hg_dashboard_daily_stat for DAO operations like Where/Data.
type DashboardDailyStat struct {
g.Meta `orm:"table:hg_dashboard_daily_stat, do:true"`
Id any // 主键
TenantId any // 租户ID
StatDate *gtime.Time // 统计日期
DimensionType any // 维度类型
DimensionValue any // 维度值
MetricCode any // 指标编码
MetricCount any // 指标数量
MetricAmount any // 指标金额(最小货币单位)
CalculatedAt *gtime.Time // 计算时间
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// FinanceReview is the golang structure of table hg_finance_review for DAO operations like Where/Data.
type FinanceReview struct {
g.Meta `orm:"table:hg_finance_review, do:true"`
Id any // 主键
TenantId any // 租户ID
ApprovalRequestId any // 审批单ID
BizType any // 业务类型
BizId any // 业务ID
ReviewStage any // 审核阶段
ReviewerId any // 审核人
Decision any // 审核结论
ReasonCode any // 原因编码
ReasonText any // 审核说明
SnapshotJson *gjson.Json // 审核快照
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// IdempotencyRecord is the golang structure of table hg_idempotency_record for DAO operations like Where/Data.
type IdempotencyRecord struct {
g.Meta `orm:"table:hg_idempotency_record, do:true"`
Id any // 主键
TenantId any // 租户ID
Scope any // 业务作用域
IdempotencyKey any // 幂等键
RequestDigest any // 请求摘要
ResourceType any // 资源类型
ResourceId any // 资源ID
ProcessStatus any // 处理状态
ResponseCode any // 响应码
ResponseDigest any // 响应摘要
ExpireAt *gtime.Time // 过期时间
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+29
View File
@@ -0,0 +1,29 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// OutboxEvent is the golang structure of table hg_outbox_event for DAO operations like Where/Data.
type OutboxEvent struct {
g.Meta `orm:"table:hg_outbox_event, do:true"`
Id any // 主键
TenantId any // 租户ID
EventNo any // 事件号
AggregateType any // 聚合根类型
AggregateId any // 聚合根ID
EventType any // 事件类型
PayloadJson *gjson.Json // 已脱敏事件数据
PublishStatus any // 发送状态
RetryCount any // 重试次数
NextRetryAt *gtime.Time // 下次重试时间
LastError any // 最后错误
CreatedAt *gtime.Time // 创建时间
PublishedAt *gtime.Time // 发送时间
}
+46
View File
@@ -0,0 +1,46 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// PayLog is the golang structure of table hg_pay_log for DAO operations like Where/Data.
type PayLog struct {
g.Meta `orm:"table:hg_pay_log, do:true"`
Id any // 主键
MemberId any // 会员ID
AppId any // 应用ID
AddonsName any // 插件名称
OrderSn any // 关联订单号
OrderGroup any // 组别[默认统一支付类型]
Openid any // openid
MchId any // 商户支付账户
Subject any // 订单标题
Detail *gjson.Json // 支付商品详情
AuthCode any // 刷卡码
OutTradeNo any // 商户订单号
TransactionId any // 交易号
PayType any // 支付类型
PayAmount any // 支付金额
ActualAmount any // 实付金额
PayStatus any // 支付状态
PayAt *gtime.Time // 支付时间
TradeType any // 交易类型
RefundSn any // 退款单号
IsRefund any // 是否退款
Custom any // 自定义参数
CreateIp any // 创建者IP
PayIp any // 支付者IP
NotifyUrl any // 支付通知回调地址
ReturnUrl any // 买家付款成功跳转地址
TraceIds *gjson.Json // 链路ID集合
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+28
View File
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// PayRefund is the golang structure of table hg_pay_refund for DAO operations like Where/Data.
type PayRefund struct {
g.Meta `orm:"table:hg_pay_refund, do:true"`
Id any // 主键ID
MemberId any // 会员ID
AppId any // 应用ID
OrderSn any // 业务订单号
RefundTradeNo any // 退款交易号
RefundMoney any // 退款金额
RefundWay any // 退款方式
Ip any // 申请者IP
Reason any // 申请退款原因
Remark any // 退款备注
Status any // 退款状态
CreatedAt *gtime.Time // 申请时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,35 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// PaymentChannel is the golang structure of table hg_payment_channel for DAO operations like Where/Data.
type PaymentChannel struct {
g.Meta `orm:"table:hg_payment_channel, do:true"`
Id any // 主键
TenantId any // 租户ID
ChannelCode any // 渠道编码
Name any // 渠道名称
ChannelType any // 渠道类型
Direction any // 支持方向
ConfigCipher any // 渠道配置密文
MinAmount any // 最小金额(分)
MaxAmount any // 最大金额(分)
FeeType any // 手续费类型
FeeFixedAmount any // 固定手续费(分)
FeeRate any // 费率(万分比)
Status any // 状态
Sort any // 排序
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
+41
View File
@@ -0,0 +1,41 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// Product is the golang structure of table hg_product for DAO operations like Where/Data.
type Product struct {
g.Meta `orm:"table:hg_product, do:true"`
Id any // 主键
TenantId any // 租户ID
ProductNo any // 商品编号
CategoryId any // 分类ID
ProductType any // 商品类型
PaymentType any // 支付方式
Name any // 商品名称
ShopName any // 店铺名称
PriceAmount any // 单价(分)
Currency any // 币种
CoverAttachmentId any // 封面附件ID
CoverUrl any // 封面URL
DetailHtml any // 商品详情
IsRecommended any // 是否推荐
PublishStatus any // 发布状态
StartAt *gtime.Time // 展示开始时间
EndAt *gtime.Time // 展示结束时间
Sort any // 排序
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// ProductCategory is the golang structure of table hg_product_category for DAO operations like Where/Data.
type ProductCategory struct {
g.Meta `orm:"table:hg_product_category, do:true"`
Id any // 主键
TenantId any // 租户ID
Pid any // 上级ID
Level any // 树等级
Tree any // 关系树
CategoryCode any // 分类编码
Name any // 分类名称
Status any // 状态
Sort any // 排序
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,40 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// RechargeOrder is the golang structure of table hg_recharge_order for DAO operations like Where/Data.
type RechargeOrder struct {
g.Meta `orm:"table:hg_recharge_order, do:true"`
Id any // 主键
TenantId any // 租户ID
RechargeNo any // 充值单号
MemberId any // 会员ID
ChannelId any // 支付渠道ID
RequestAmount any // 申请金额(分)
PaidAmount any // 实付金额(分)
Currency any // 币种
ExternalNo any // 外部支付单号
VoucherAttachmentIds *gjson.Json // 打款凭证附件
RechargeType any // 充值类型
RechargeStatus any // 充值状态
Remark any // 会员备注
ReviewReasonCode any // 审核原因编码
ReviewReason any // 审核意见
ApprovalRequestId any // 审批单ID
LedgerId any // 入账台账ID
PaidAt *gtime.Time // 支付时间
ReviewedAt *gtime.Time // 审核时间
CreditedAt *gtime.Time // 入账时间
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SensitiveAccessLog is the golang structure of table hg_sensitive_access_log for DAO operations like Where/Data.
type SensitiveAccessLog struct {
g.Meta `orm:"table:hg_sensitive_access_log, do:true"`
Id any // 主键
TenantId any // 租户ID
AccessNo any // 查看流水号
ActorId any // 管理员ID
TargetType any // 目标类型
TargetId any // 目标ID
FieldSet *gjson.Json // 查看字段集
PurposeCode any // 用途编码
PurposeText any // 用途说明
AuthorizationNo any // 授权号
MfaVerified any // 是否二次认证
Result any // 查看结果
TraceId any // 链路ID
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,34 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SiteConfigVersion is the golang structure of table hg_site_config_version for DAO operations like Where/Data.
type SiteConfigVersion struct {
g.Meta `orm:"table:hg_site_config_version, do:true"`
Id any // 主键
TenantId any // 租户ID
ConfigNo any // 配置版本号
ConfigGroup any // 配置组
SchemaVersion any // Schema版本
ConfigJson *gjson.Json // 完整配置快照
ConfigDigest any // 配置摘要
PublishStatus any // 发布状态
EffectiveAt *gtime.Time // 计划生效时间
PublishedAt *gtime.Time // 实际发布时间
ApprovalRequestId any // 审批单ID
BaseVersionId any // 基础版本ID
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+29
View File
@@ -0,0 +1,29 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysAddonsConfig is the golang structure of table hg_sys_addons_config for DAO operations like Where/Data.
type SysAddonsConfig struct {
g.Meta `orm:"table:hg_sys_addons_config, do:true"`
Id any // 配置ID
AddonName any // 插件名称
Group any // 分组
Name any // 参数名称
Type any // 键值类型:string,int,uint,bool,datetime,date
Key any // 参数键名
Value any // 参数键值
DefaultValue any // 默认值
Sort any // 排序
Tip any // 变量描述
IsDefault any // 是否为系统默认
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,21 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysAddonsInstall is the golang structure of table hg_sys_addons_install for DAO operations like Where/Data.
type SysAddonsInstall struct {
g.Meta `orm:"table:hg_sys_addons_install, do:true"`
Id interface{} // 主键
Name interface{} // 插件名称
Version interface{} // 版本号
Status interface{} // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+32
View File
@@ -0,0 +1,32 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysAttachment is the golang structure of table hg_sys_attachment for DAO operations like Where/Data.
type SysAttachment struct {
g.Meta `orm:"table:hg_sys_attachment, do:true"`
Id any // 文件ID
AppId any // 应用ID
MemberId any // 管理员ID
CateId any // 上传分类
Drive any // 上传驱动
Name any // 文件原始名
Kind any // 上传类型
MimeType any // 扩展类型
NaiveType any // NaiveUI类型
Path any // 本地路径
FileUrl any // url
Size any // 文件大小
Ext any // 扩展名
Md5 any // md5校验码
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+21
View File
@@ -0,0 +1,21 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysBlacklist is the golang structure of table hg_sys_blacklist for DAO operations like Where/Data.
type SysBlacklist struct {
g.Meta `orm:"table:hg_sys_blacklist, do:true"`
Id any // 黑名单ID
Ip any // IP地址
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+28
View File
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysConfig is the golang structure of table hg_sys_config for DAO operations like Where/Data.
type SysConfig struct {
g.Meta `orm:"table:hg_sys_config, do:true"`
Id any // 配置ID
Group any // 配置分组
Name any // 参数名称
Type any // 键值类型:string,int,uint,bool,datetime,date
Key any // 参数键名
Value any // 参数键值
DefaultValue any // 默认值
Sort any // 排序
Tip any // 变量描述
IsDefault any // 是否为系统默认
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+28
View File
@@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysCron is the golang structure of table hg_sys_cron for DAO operations like Where/Data.
type SysCron struct {
g.Meta `orm:"table:hg_sys_cron, do:true"`
Id any // 任务ID
GroupId any // 分组ID
Title any // 任务标题
Name any // 任务方法
Params any // 函数参数
Pattern any // 表达式
Policy any // 策略
Count any // 执行次数
Sort any // 排序
Remark any // 备注
Status any // 任务状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+24
View File
@@ -0,0 +1,24 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysCronGroup is the golang structure of table hg_sys_cron_group for DAO operations like Where/Data.
type SysCronGroup struct {
g.Meta `orm:"table:hg_sys_cron_group, do:true"`
Id any // 任务分组ID
Pid any // 父类任务分组ID
Name any // 分组名称
IsDefault any // 是否默认
Sort any // 排序
Remark any // 备注
Status any // 分组状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+27
View File
@@ -0,0 +1,27 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysDictData is the golang structure of table hg_sys_dict_data for DAO operations like Where/Data.
type SysDictData struct {
g.Meta `orm:"table:hg_sys_dict_data, do:true"`
Id any // 字典数据ID
Label any // 字典标签
Value any // 字典键值
ValueType any // 键值数据类型:string,int,uint,bool,datetime,date
Type any // 字典类型
ListClass any // 表格回显样式
IsDefault any // 是否为系统默认
Sort any // 字典排序
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+24
View File
@@ -0,0 +1,24 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysDictType is the golang structure of table hg_sys_dict_type for DAO operations like Where/Data.
type SysDictType struct {
g.Meta `orm:"table:hg_sys_dict_type, do:true"`
Id any // 字典类型ID
Pid any // 父类字典类型ID
Name any // 字典类型名称
Type any // 字典类型
Sort any // 排序
Remark any // 备注
Status any // 字典类型状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+25
View File
@@ -0,0 +1,25 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysEmsLog is the golang structure of table hg_sys_ems_log for DAO operations like Where/Data.
type SysEmsLog struct {
g.Meta `orm:"table:hg_sys_ems_log, do:true"`
Id any // 主键
Event any // 事件
Email any // 邮箱地址,多个用;隔开
Code any // 验证码
Times any // 验证次数
Content any // 邮件内容
Ip any // ip地址
Status any // 状态(1未验证,2已验证)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+30
View File
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysGenCodes is the golang structure of table hg_sys_gen_codes for DAO operations like Where/Data.
type SysGenCodes struct {
g.Meta `orm:"table:hg_sys_gen_codes, do:true"`
Id any // 生成ID
GenType any // 生成类型
GenTemplate any // 生成模板
VarName any // 实体命名
Options *gjson.Json // 配置选项
DbName any // 数据库名称
TableName any // 主表名称
TableComment any // 主表注释
DaoName any // 主表dao模型
MasterColumns *gjson.Json // 主表字段
AddonName any // 插件名称
Status any // 生成状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+32
View File
@@ -0,0 +1,32 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysGenCurdDemo is the golang structure of table hg_sys_gen_curd_demo for DAO operations like Where/Data.
type SysGenCurdDemo struct {
g.Meta `orm:"table:hg_sys_gen_curd_demo, do:true"`
Id any // ID
CategoryId any // 分类ID
Title any // 标题
Description any // 描述
Content any // 内容
Image any // 单图
Attachfile any // 附件
CityId any // 所在城市
Switch any // 显示开关
Sort any // 排序
Status any // 状态
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间
}
+29
View File
@@ -0,0 +1,29 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysGenTreeDemo is the golang structure of table hg_sys_gen_tree_demo for DAO operations like Where/Data.
type SysGenTreeDemo struct {
g.Meta `orm:"table:hg_sys_gen_tree_demo, do:true"`
Id any // ID
Pid any // 上级ID
Level any // 关系树级别
Tree any // 关系树
CategoryId any // 分类ID
Title any // 标题
Description any // 描述
Sort any // 排序
Status any // 状态
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间
}
+39
View File
@@ -0,0 +1,39 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysLog is the golang structure of table hg_sys_log for DAO operations like Where/Data.
type SysLog struct {
g.Meta `orm:"table:hg_sys_log, do:true"`
Id any // 日志ID
ReqId any // 对外ID
AppId any // 应用ID
MerchantId any // 商户ID
MemberId any // 用户ID
Method any // 提交类型
Module any // 访问模块
Url any // 提交url
GetData *gjson.Json // get数据
PostData *gjson.Json // post数据
HeaderData *gjson.Json // header数据
Ip any // IP地址
ProvinceId any // 省编码
CityId any // 市编码
ErrorCode any // 报错code
ErrorMsg any // 对外错误提示
ErrorData *gjson.Json // 报错日志
UserAgent any // UA信息
TakeUpTime any // 请求耗时
Timestamp any // 响应时间
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+30
View File
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysLoginLog is the golang structure of table hg_sys_login_log for DAO operations like Where/Data.
type SysLoginLog struct {
g.Meta `orm:"table:hg_sys_login_log, do:true"`
Id any // 日志ID
ReqId any // 请求ID
MemberId any // 用户ID
Username any // 用户名
Response *gjson.Json // 响应数据
LoginAt *gtime.Time // 登录时间
LoginIp any // 登录IP
ProvinceId any // 省编码
CityId any // 市编码
UserAgent any // UA信息
ErrMsg any // 错误提示
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+27
View File
@@ -0,0 +1,27 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysProvinces is the golang structure of table hg_sys_provinces for DAO operations like Where/Data.
type SysProvinces struct {
g.Meta `orm:"table:hg_sys_provinces, do:true"`
Id any // 省市区ID
Title any // 栏目名称
Pinyin any // 拼音
Lng any // 经度
Lat any // 纬度
Pid any // 父栏目
Level any // 关系树等级
Tree any // 关系树
Sort any // 排序
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+33
View File
@@ -0,0 +1,33 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysServeLicense is the golang structure of table hg_sys_serve_license for DAO operations like Where/Data.
type SysServeLicense struct {
g.Meta `orm:"table:hg_sys_serve_license, do:true"`
Id any // 许可ID
Group any // 分组
Name any // 许可名称
Appid any // 应用ID
SecretKey any // 应用秘钥
RemoteAddr any // 最后连接地址
OnlineLimit any // 在线限制
LoginTimes any // 登录次数
LastLoginAt *gtime.Time // 最后登录时间
LastActiveAt *gtime.Time // 最后心跳
Routes *gjson.Json // 路由表,空使用默认分组路由
AllowedIps any // IP白名单
EndAt *gtime.Time // 授权有效期
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+26
View File
@@ -0,0 +1,26 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysServeLog is the golang structure of table hg_sys_serve_log for DAO operations like Where/Data.
type SysServeLog struct {
g.Meta `orm:"table:hg_sys_serve_log, do:true"`
Id any // 日志ID
TraceId any // 链路ID
LevelFormat any // 日志级别
Content any // 日志内容
Stack *gjson.Json // 打印堆栈
Line any // 调用行
TriggerNs any // 触发时间(ns)
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}
+24
View File
@@ -0,0 +1,24 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// SysSmsLog is the golang structure of table hg_sys_sms_log for DAO operations like Where/Data.
type SysSmsLog struct {
g.Meta `orm:"table:hg_sys_sms_log, do:true"`
Id any // 主键
Event any // 事件
Mobile any // 手机号
Code any // 验证码或短信内容
Times any // 验证次数
Ip any // ip地址
Status any // 状态(1未验证,2已验证)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+40
View File
@@ -0,0 +1,40 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// Task is the golang structure of table hg_task for DAO operations like Where/Data.
type Task struct {
g.Meta `orm:"table:hg_task, do:true"`
Id any // 主键
TenantId any // 租户ID
TaskNo any // 任务编号
HallId any // 任务大厅ID
Title any // 标题
Description any // 描述
DetailHtml any // 清洗后的任务详情
CoverAttachmentId any // 封面附件ID
CoverUrl any // 封面地址
CommissionAmount any // 固定佣金(分)
CommissionRate any // 佣金万分比
DailyLimit any // 每日总量
PerMemberLimit any // 单会员限制
StartAt *gtime.Time // 开始时间
EndAt *gtime.Time // 结束时间
PublishStatus any // 发布状态
Sort any // 排序
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
+35
View File
@@ -0,0 +1,35 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// TaskHall is the golang structure of table hg_task_hall for DAO operations like Where/Data.
type TaskHall struct {
g.Meta `orm:"table:hg_task_hall, do:true"`
Id any // 主键
TenantId any // 租户ID
HallCode any // 大厅编码
Name any // 名称
IconAttachmentId any // 图标附件ID
IconUrl any // 图标URL
Summary any // 简介
CommissionRate any // 佣金万分比
RateUnit any // 比例单位
ClientRoute any // C端跳转
PublishStatus any // 发布状态
Sort any // 排序
Version any // 乐观锁
Remark any // 备注
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
@@ -0,0 +1,20 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// TaskHallLevel is the golang structure of table hg_task_hall_level for DAO operations like Where/Data.
type TaskHallLevel struct {
g.Meta `orm:"table:hg_task_hall_level, do:true"`
Id any // 主键
TenantId any // 租户ID
HallId any // 任务大厅ID
LevelId any // 会员等级ID
CreatedAt *gtime.Time // 创建时间
}
+20
View File
@@ -0,0 +1,20 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// TaskLevel is the golang structure of table hg_task_level for DAO operations like Where/Data.
type TaskLevel struct {
g.Meta `orm:"table:hg_task_level, do:true"`
Id any // 主键
TenantId any // 租户ID
TaskId any // 任务ID
LevelId any // 会员等级ID
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,40 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// TaskSubmission is the golang structure of table hg_task_submission for DAO operations like Where/Data.
type TaskSubmission struct {
g.Meta `orm:"table:hg_task_submission, do:true"`
Id any // 主键
TenantId any // 租户ID
SubmissionNo any // 提交编号
TradeOrderId any // 交易订单ID
TaskId any // 任务ID
MemberId any // 会员ID
MemberLevelId any // 提交时等级ID
EvidenceText any // 证据说明
EvidenceAttachmentIds *gjson.Json // 证据附件
SubmissionStatus any // 1待审 2通过 3驳回 4已结算 5已冲正
CommissionAmount any // 佣金快照(分)
SuccessRate any // 成功率万分比
ReviewedBy any // 审核人
ReviewedAt *gtime.Time // 审核时间
ReviewReasonCode any // 标准原因
ReviewReason any // 审核意见
AllowResubmit any // 是否允许重提
LedgerId any // 佣金台账ID
SettledAt *gtime.Time // 结算时间
ReversalApprovalId any // 冲正审批ID
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+25
View File
@@ -0,0 +1,25 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// TestCategory is the golang structure of table hg_test_category for DAO operations like Where/Data.
type TestCategory struct {
g.Meta `orm:"table:hg_test_category, do:true"`
Id any // 分类ID
Name any // 分类名称
ShortName any // 简称
Description any // 描述
Sort any // 排序
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间
}
+42
View File
@@ -0,0 +1,42 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// TradeOrder is the golang structure of table hg_trade_order for DAO operations like Where/Data.
type TradeOrder struct {
g.Meta `orm:"table:hg_trade_order, do:true"`
Id any // 主键
TenantId any // 租户ID
OrderNo any // 订单号
MemberId any // 会员ID
TaskId any // 任务ID
ProductId any // 商品ID
ProductName any // 商品名称快照
OrderType any // 订单类型
Quantity any // 数量
UnitPriceAmount any // 单价(分)
TotalAmount any // 订单金额(分)
CommissionAmount any // 佣金(分)
Currency any // 币种
MemberLevelId any // 下单等级ID
RuleSnapshot *gjson.Json // 规则快照
Message any // 订单消息
OrderStatus any // 订单状态
FreezeStatus any // 冻结状态
ApprovalRequestId any // 人工处理审批ID
MatchedAt *gtime.Time // 匹配时间
CompletedAt *gtime.Time // 完成时间
UnfrozenAt *gtime.Time // 解冻时间
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 下单时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,27 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// WalletAccount is the golang structure of table hg_wallet_account for DAO operations like Where/Data.
type WalletAccount struct {
g.Meta `orm:"table:hg_wallet_account, do:true"`
Id any // 主键
TenantId any // 租户ID
MemberId any // 会员ID
Currency any // 币种
AvailableAmount any // 可用金额(分)
FrozenAmount any // 冻结金额(分)
TotalIncome any // 累计收入(分)
TotalExpense any // 累计支出(分)
AccountStatus any // 账户状态
Version any // 乐观锁
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
@@ -0,0 +1,35 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// WalletAdjustmentRequest is the golang structure of table hg_wallet_adjustment_request for DAO operations like Where/Data.
type WalletAdjustmentRequest struct {
g.Meta `orm:"table:hg_wallet_adjustment_request, do:true"`
Id any // 主键
TenantId any // 租户ID
RequestNo any // 申请单号
MemberId any // 会员ID
AccountId any // 钱包账户ID
AdjustType any // 调整类型
Direction any // 方向 1收入 2支出
Amount any // 金额(分)
ReasonCode any // 原因编码
ReasonText any // 原因说明
EvidenceJson *gjson.Json // 凭证附件
IdempotencyKey any // 幂等键
RequestStatus any // 状态 1待审批 2已通过 3已拒绝 4已执行
ApprovalRequestId any // 审批单ID
LedgerId any // 账变流水ID
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}
+34
View File
@@ -0,0 +1,34 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// WalletLedger is the golang structure of table hg_wallet_ledger for DAO operations like Where/Data.
type WalletLedger struct {
g.Meta `orm:"table:hg_wallet_ledger, do:true"`
Id any // 主键
TenantId any // 租户ID
LedgerNo any // 账变流水号
AccountId any // 钱包账户ID
MemberId any // 会员ID
BizType any // 业务类型
BizNo any // 业务单号
EntryType any // 账变类型
Direction any // 方向 1收入 2支出
Amount any // 发生金额(分)
BeforeAmount any // 变更前余额(分)
AfterAmount any // 变更后余额(分)
Currency any // 币种
ReversalOf any // 冲正原流水ID
IdempotencyKey any // 幂等键
Remark any // 说明
OperatorId any // 操作人
OccurredAt *gtime.Time // 发生时间
CreatedAt *gtime.Time // 创建时间
}
@@ -0,0 +1,45 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// WithdrawalOrder is the golang structure of table hg_withdrawal_order for DAO operations like Where/Data.
type WithdrawalOrder struct {
g.Meta `orm:"table:hg_withdrawal_order, do:true"`
Id any // 主键
TenantId any // 租户ID
WithdrawalNo any // 提现单号
MemberId any // 会员ID
PaymentAccountId any // 收款账户ID
ChannelId any // 付款渠道ID
RequestAmount any // 申请金额(分)
FeeAmount any // 手续费(分)
ActualAmount any // 实际到账(分)
Currency any // 币种
AccountSnapshotCipher any // 收款账户加密快照
AccountMask any // 收款账户脱敏快照
BankName any // 银行名称快照
HolderMask any // 开户名脱敏快照
RiskResult *gjson.Json // 风控结果摘要
WithdrawalStatus any // 提现状态
ReviewReasonCode any // 审核原因编码
ReviewReason any // 审核意见
ApprovalRequestId any // 审批单ID
ExternalNo any // 外部付款单号
FreezeLedgerId any // 冻结台账ID
FinalLedgerId any // 完成或解冻台账ID
ReviewedAt *gtime.Time // 审核时间
ProcessedAt *gtime.Time // 处理时间
CompletedAt *gtime.Time // 完成时间
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 发起时间
UpdatedAt *gtime.Time // 更新时间
}