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
@@ -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 // 更新时间
}