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
+25
View File
@@ -0,0 +1,25 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysConfig is the golang structure for table sys_config.
type SysConfig struct {
ConfigId int64 `json:"configId" orm:"config_id" ` //
TenantId string `json:"tenantId" orm:"tenant_id" ` //
ConfigName string `json:"configName" orm:"config_name" ` //
ConfigKey string `json:"configKey" orm:"config_key" ` //
ConfigValue string `json:"configValue" orm:"config_value" ` //
ConfigType string `json:"configType" orm:"config_type" ` //
CreatedDept int64 `json:"createdDept" orm:"created_dept" ` //
CreatedBy int64 `json:"createdBy" orm:"created_by" ` //
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" ` //
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
Remark string `json:"remark" orm:"remark" ` //
}
@@ -0,0 +1,16 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysPermissionRevision is the golang structure for table sys_permission_revision.
type SysPermissionRevision struct {
Id int `json:"id" orm:"id" ` //
Revision int64 `json:"revision" orm:"revision" ` //
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
}
+34
View File
@@ -0,0 +1,34 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysRole is the golang structure for table sys_role.
type SysRole struct {
RoleId int64 `json:"roleId" orm:"role_id" ` //
TenantId string `json:"tenantId" orm:"tenant_id" ` //
DeptId int64 `json:"deptId" orm:"dept_id" ` //
RoleName string `json:"roleName" orm:"role_name" ` //
RoleKey string `json:"roleKey" orm:"role_key" ` //
RoleSort int64 `json:"roleSort" orm:"role_sort" ` //
DataScope string `json:"dataScope" orm:"data_scope" ` //
MenuCheckStrictly int64 `json:"menuCheckStrictly" orm:"menu_check_strictly" ` //
DeptCheckStrictly int64 `json:"deptCheckStrictly" orm:"dept_check_strictly" ` //
Status string `json:"status" orm:"status" ` //
IsPass int64 `json:"isPass" orm:"is_pass" ` //
SourceRoleId int64 `json:"sourceRoleId" orm:"source_role_id" ` //
SourceDeptId int64 `json:"sourceDeptId" orm:"source_dept_id" ` //
CreatedDept int64 `json:"createdDept" orm:"created_dept" ` //
CreatedBy int64 `json:"createdBy" orm:"created_by" ` //
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" ` //
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" ` //
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" ` //
Remark string `json:"remark" orm:"remark" ` //
}
+12
View File
@@ -0,0 +1,12 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// SysRoleDept is the golang structure for table sys_role_dept.
type SysRoleDept struct {
TenantId string `json:"tenantId" orm:"tenant_id" ` //
RoleId int64 `json:"roleId" orm:"role_id" ` //
DeptId int64 `json:"deptId" orm:"dept_id" ` //
}
+13
View File
@@ -0,0 +1,13 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// SysRoleMenu is the golang structure for table sys_role_menu.
type SysRoleMenu struct {
TenantId string `json:"tenantId" orm:"tenant_id" ` //
RoleId int64 `json:"roleId" orm:"role_id" ` //
MenuId int64 `json:"menuId" orm:"menu_id" ` //
DataScope string `json:"dataScope" orm:"data_scope" ` //
}
@@ -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" ` //
}
+12
View File
@@ -0,0 +1,12 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// SysUserRole is the golang structure for table sys_user_role.
type SysUserRole struct {
TenantId string `json:"tenantId" orm:"tenant_id" ` //
UserId int64 `json:"userId" orm:"user_id" ` //
RoleId int64 `json:"roleId" orm:"role_id" ` //
}