7 changed files with 176 additions and 1 deletions
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/1/17 3:27 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class PersonWarnLeftPieDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 337571869959815613L; |
|||
|
|||
private Integer count; |
|||
|
|||
private String configId; |
|||
|
|||
public PersonWarnLeftPieDTO() { |
|||
this.count = NumConstant.ZERO; |
|||
this.configId = ""; |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/1/17 2:33 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class PersonWarnLeftPieResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -111604873581992490L; |
|||
|
|||
private Integer total; |
|||
|
|||
private List<PersonWarnLeftPie> list; |
|||
|
|||
public PersonWarnLeftPieResultDTO() { |
|||
this.total = NumConstant.ZERO; |
|||
this.list = new ArrayList<>(); |
|||
} |
|||
|
|||
@Data |
|||
public static class PersonWarnLeftPie{ |
|||
|
|||
@JsonIgnore |
|||
private String configId; |
|||
|
|||
private String typeName; |
|||
|
|||
private String typeCode; |
|||
|
|||
private Integer typeCount; |
|||
|
|||
public PersonWarnLeftPie() { |
|||
this.typeName = ""; |
|||
this.typeCode = ""; |
|||
this.typeCount = NumConstant.ZERO; |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue