package ru.soune.nocopy.dto.statistic;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@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;

    @JsonProperty("complaints")
    private Map<String, Object> complaints;
}
