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

import cn.axzo.msg.center.service.enums.BizCategoryEnum;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Set;

@Setter
@Getter
public class GetTodoCountRequest {
    private BizCategoryEnum bizCategory;
    private Set<String> identityCodes;
    private Set<String> templateCodes;
    private Set<String> bizCodes;
    private List<Executor> executors;

    @Setter
    @Getter
    public static class Executor {
        private Long ouId;
        private Long workspaceId;
        private List<Long> personIds;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}