// ================================================================================= // 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" ` // }