1 changed files with 27 additions and 0 deletions
@ -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<GBaseAJJBXX> list; |
||||||
|
|
||||||
|
public static ZfbaAggDTO of(Integer type, List<GBaseAJJBXX> list) { |
||||||
|
ZfbaAggDTO dto = new ZfbaAggDTO(); |
||||||
|
dto.setType(type); |
||||||
|
dto.setList(list); |
||||||
|
return dto; |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue