package cn.axzo.msg.center.service.pending.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PendingMessageCountDTO {

    private Integer count = 0;

    private List<SinglePendingDto> dtos = new ArrayList<>();

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    @Builder
    public static final class SinglePendingDto {
        private String identityCode;
        private String templateCode;
        private Long executePersonId;
        private Long ouId;
        private Long workspaceId;
    }
}
