chore: 并入 iotlcm-worker-svr 历史到 worker-svr/(原提交 96f0f4e)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package model
|
||||
|
||||
type AgentRoleSyncMessage struct {
|
||||
TemplateRole bool `json:"templateRole,omitempty"`
|
||||
Superseded bool `json:"superseded,omitempty"`
|
||||
TaskId string `json:"taskId,omitempty"`
|
||||
TotalCount int `json:"totalCount,omitempty"`
|
||||
SuccessCount int `json:"successCount,omitempty"`
|
||||
FailedCount int `json:"failedCount,omitempty"`
|
||||
TenantId string `json:"tenantId"`
|
||||
SourceRoleId int64 `json:"sourceRoleId"`
|
||||
SourceDeptId int64 `json:"sourceDeptId"`
|
||||
ActorId int64 `json:"actorId"`
|
||||
RetryCount int `json:"retryCount"`
|
||||
ChildDeptIds []int64 `json:"childDeptIds,omitempty"`
|
||||
}
|
||||
|
||||
type AgentRoleSyncDeadLetterMessage struct {
|
||||
Message AgentRoleSyncMessage `json:"message"`
|
||||
Error string `json:"error"`
|
||||
FailedAt string `json:"failedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user