package com.erp.dashboard.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 本月订单统计DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "本月订单统计")
public class MonthOrdersDTO {

    @Schema(description = "订单总数")
    private Integer total;

    @Schema(description = "已完成订单数")
    private Integer completed;

    @Schema(description = "已取消订单数")
    private Integer cancelled;

    @Schema(description = "订单总金额")
    private BigDecimal amount;
}
