Пример #1
0
        public static HistoricIdentityLinkLogDto fromHistoricIdentityLink(HistoricIdentityLinkLog historicIdentityLink)
        {
            HistoricIdentityLinkLogDto dto = new HistoricIdentityLinkLogDto();

            fromHistoricIdentityLink(dto, historicIdentityLink);
            return(dto);
        }
Пример #2
0
 public static void fromHistoricIdentityLink(HistoricIdentityLinkLogDto dto, HistoricIdentityLinkLog historicIdentityLink)
 {
     dto.id                    = historicIdentityLink.Id;
     dto.assignerId            = historicIdentityLink.AssignerId;
     dto.groupId               = historicIdentityLink.GroupId;
     dto.operationType         = historicIdentityLink.OperationType;
     dto.taskId                = historicIdentityLink.TaskId;
     dto.time                  = historicIdentityLink.Time;
     dto.type                  = historicIdentityLink.Type;
     dto.processDefinitionId   = historicIdentityLink.ProcessDefinitionId;
     dto.processDefinitionKey  = historicIdentityLink.ProcessDefinitionKey;
     dto.userId                = historicIdentityLink.UserId;
     dto.tenantId              = historicIdentityLink.TenantId;
     dto.removalTime           = historicIdentityLink.RemovalTime;
     dto.rootProcessInstanceId = historicIdentityLink.RootProcessInstanceId;
 }