// ================================================================================= // 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" description:""` TenantId string `json:"tenantId" orm:"tenant_id" description:""` SourceRoleId int64 `json:"sourceRoleId" orm:"source_role_id" description:""` SourceDeptId int64 `json:"sourceDeptId" orm:"source_dept_id" description:""` ActorId int64 `json:"actorId" orm:"actor_id" description:""` Status string `json:"status" orm:"status" description:""` Attempts int `json:"attempts" orm:"attempts" description:""` NextAttemptAt int64 `json:"nextAttemptAt" orm:"next_attempt_at" description:""` LeaseUntil int64 `json:"leaseUntil" orm:"lease_until" description:""` LeaseToken string `json:"leaseToken" orm:"lease_token" description:""` Payload string `json:"payload" orm:"payload" description:""` LastError string `json:"lastError" orm:"last_error" description:""` TotalCount int `json:"totalCount" orm:"total_count" description:""` SuccessCount int `json:"successCount" orm:"success_count" description:""` FailedCount int `json:"failedCount" orm:"failed_count" description:""` CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` }