package com.erp.order.dto.response;

import lombok.Builder;
import lombok.Data;
import java.math.BigDecimal;

@Data
@Builder
public class DashboardStatsResponse {

    private PeriodStats today;
    private PeriodStats yesterday;
    private PeriodStats thisMonth;
    private AllStats all;

    @Data
    @Builder
    public static class PeriodStats {
        private Long total;
        private Long pending;
        private Long auditing;
        private Long shipped;
        private BigDecimal amount;
    }

    @Data
    @Builder
    public static class AllStats {
        private Long total;
        private Long pending;
        private Long auditing;
        private Long shipped;
        private Long completed;
        private Long cancelled;
        private BigDecimal amount;
    }
}
