diff --git a/src/main/java/com/biutag/supervision/pojo/dto/businessPolice/ZfbaAggDTO.java b/src/main/java/com/biutag/supervision/pojo/dto/businessPolice/ZfbaAggDTO.java new file mode 100644 index 0000000..abd4e56 --- /dev/null +++ b/src/main/java/com/biutag/supervision/pojo/dto/businessPolice/ZfbaAggDTO.java @@ -0,0 +1,27 @@ +package com.biutag.supervision.pojo.dto.businessPolice; + +import com.biutag.supervision.pojo.entity.GBaseAJJBXX; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Getter; +import lombok.Setter; + +import java.util.List; + +@Getter +@Setter +@Schema(description = "执法办案按天聚合 DTO(受/立/破)") +public class ZfbaAggDTO { + + @Schema(description = "类型:4=受案,5=立案,6=破案") + private Integer type; + + @Schema(description = "聚合后的办案人数据(按天+办案人ID聚合)") + private List list; + + public static ZfbaAggDTO of(Integer type, List list) { + ZfbaAggDTO dto = new ZfbaAggDTO(); + dto.setType(type); + dto.setList(list); + return dto; + } +}