sync: 同步 v1.0.4 开源代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:52:43 +08:00
parent 32e4316ee4
commit 6893e21f07
136 changed files with 9851 additions and 436 deletions
@@ -0,0 +1,30 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysRoleSyncTask is the golang structure for table sys_role_sync_task.
type SysRoleSyncTask struct {
TaskId string `json:"taskId" orm:"task_id" ` //
TenantId string `json:"tenantId" orm:"tenant_id" ` //
SourceRoleId int64 `json:"sourceRoleId" orm:"source_role_id" ` //
SourceDeptId int64 `json:"sourceDeptId" orm:"source_dept_id" ` //
ActorId int64 `json:"actorId" orm:"actor_id" ` //
Status string `json:"status" orm:"status" ` //
Attempts int `json:"attempts" orm:"attempts" ` //
NextAttemptAt int64 `json:"nextAttemptAt" orm:"next_attempt_at" ` //
LeaseUntil int64 `json:"leaseUntil" orm:"lease_until" ` //
LeaseToken string `json:"leaseToken" orm:"lease_token" ` //
Payload string `json:"payload" orm:"payload" ` //
LastError string `json:"lastError" orm:"last_error" ` //
TotalCount int `json:"totalCount" orm:"total_count" ` //
SuccessCount int `json:"successCount" orm:"success_count" ` //
FailedCount int `json:"failedCount" orm:"failed_count" ` //
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
}