This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package ru.soune.nocopy.dto.statistic;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ComplaintStatisticRequest {
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package ru.soune.nocopy.dto.statistic;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ComplaintStatisticResponse {
|
||||
|
||||
@JsonProperty("total_complaint")
|
||||
private Long totalComplaints;
|
||||
|
||||
@JsonProperty("total_created")
|
||||
private Long totalCreated;
|
||||
|
||||
@JsonProperty("total_in_work")
|
||||
private Long totalInWork;
|
||||
|
||||
@JsonProperty("total_completed")
|
||||
private Long totalCompleted;
|
||||
|
||||
@JsonProperty("total_cancelled")
|
||||
private Long totalCancelled;
|
||||
}
|
||||
Reference in New Issue
Block a user