package com.sckw.order.model.vo.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @desc: trade order count response
 * @author: cxf
 * @date: 2026-03-11
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Schema(description = "查询订单状态数量响应")
public class TradeOrderCountResp {

    @Schema(description = "状态列表")
    private List<TradeOrderCountItem> items;
    @Schema(description = "总数")
    private Long totalCount;
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @Schema(description = "状态详情")
    public static class TradeOrderCountItem {

        @Schema(description = "状态")
        private Integer status;

        @Schema(description = "状态描述")
        private String statusDesc;

        @Schema(description = "状态数量")
        private Long statusCount;


    }
}