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 CrmSalesPerformanceRespDTO {
|
|
@Schema(description = "销售人员业绩列表")
|
private List<SalesItem> items;
|
|
@Schema(description = "销售业绩项")
|
@Data
|
public static class SalesItem {
|
|
@Schema(description = "销售人员编号")
|
private Long userId;
|
|
@Schema(description = "销售人员姓名")
|
private String userName;
|
|
@Schema(description = "部门名称")
|
private String deptName;
|
|
@Schema(description = "合同数量")
|
private Long contractCount;
|
|
@Schema(description = "合同金额")
|
private BigDecimal contractPrice;
|
|
@Schema(description = "回款金额")
|
private BigDecimal receivablePrice;
|
|
@Schema(description = "商机数量")
|
private Long businessCount;
|
|
@Schema(description = "商机金额")
|
private BigDecimal businessPrice;
|
}
|
|
}
|