package cn.iocoder.yudao.module.crm.api.report.dto;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
/**
|
* CRM 销售漏斗统计 Response DTO
|
*/
|
@Schema(description = "RPC 服务 - CRM 销售漏斗统计 Response DTO")
|
@Data
|
public class CrmSalesFunnelRespDTO {
|
|
@Schema(description = "漏斗阶段列表")
|
private List<FunnelStage> stages;
|
|
@Schema(description = "漏斗阶段")
|
@Data
|
public static class FunnelStage {
|
|
@Schema(description = "阶段名称")
|
private String name;
|
|
@Schema(description = "数量")
|
private Long count;
|
|
@Schema(description = "金额")
|
private BigDecimal price;
|
|
@Schema(description = "转化率(百分比)")
|
private BigDecimal conversionRate;
|
}
|
|
}
|