| | |
| | | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; |
| | | import cn.iocoder.yudao.module.infra.enums.DictTypeConstants; |
| | | import cn.iocoder.yudao.module.crm.framework.excel.core.AutoPoolEnabledConvert; |
| | | import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Schema(description = "管理后台 - CRM 客户 Response VO") |
| | |
| | | @ExcelProperty(value = "成交状态", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.BOOLEAN_STRING) |
| | | private Boolean dealStatus; |
| | | |
| | | @Schema(description = "是否流入公海") |
| | | @ExcelProperty(value = "是否流入公海", converter = AutoPoolEnabledConvert.class) |
| | | private Boolean autoPoolEnabled; |
| | | |
| | | @Schema(description = "手机", example = "25682") |
| | | @ExcelProperty("手机") |
| | |
| | | @Schema(description = "距离加入公海时间", example = "1") |
| | | private Long poolDay; |
| | | |
| | | // ========== 签订合同(由 crm_contract 的审核通过合同实时统计,非客户表字段) ========== |
| | | |
| | | @Schema(description = "已签订合同数量(审批状态为审核通过),没有则为 0", example = "2") |
| | | private Integer contractCount; |
| | | |
| | | @Schema(description = "已签订合同金额合计(审批状态为审核通过),没有则为 null", example = "3235289.45") |
| | | private BigDecimal contractTotalPrice; |
| | | |
| | | } |