package cn.iocoder.yudao.module.crm.controller.admin.salesTarget.vo;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.annotations.ExcelColumnSelect;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import lombok.AllArgsConstructor;
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.math.BigDecimal;
|
|
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_SALES_TARGET_DIMENSION;
|
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_SALES_TARGET_PERIOD_TYPE;
|
|
/**
|
* CRM 销售目标 Excel 导入 VO
|
*/
|
@Data
|
@Builder
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class CrmSalesTargetImportExcelVO {
|
|
@ExcelProperty("目标名称")
|
private String name;
|
|
@ExcelProperty(value = "周期类型", converter = DictConvert.class)
|
@DictFormat(CRM_SALES_TARGET_PERIOD_TYPE)
|
@ExcelColumnSelect(dictType = CRM_SALES_TARGET_PERIOD_TYPE)
|
private Integer periodType;
|
|
@ExcelProperty("周期值")
|
private String periodValue;
|
|
@ExcelProperty(value = "目标维度", converter = DictConvert.class)
|
@DictFormat(CRM_SALES_TARGET_DIMENSION)
|
@ExcelColumnSelect(dictType = CRM_SALES_TARGET_DIMENSION)
|
private Integer targetDimension;
|
|
@ExcelProperty("目标用户")
|
private String targetUserName;
|
|
@ExcelProperty("目标部门")
|
private String targetDeptName;
|
|
@ExcelProperty("目标物料编码")
|
private String targetItemCode;
|
|
@ExcelProperty("合同金额目标")
|
private BigDecimal contractTarget;
|
|
@ExcelProperty("回款金额目标")
|
private BigDecimal receivableTarget;
|
|
@ExcelProperty("商机金额目标")
|
private BigDecimal businessTarget;
|
|
@ExcelProperty("新增客户数目标")
|
private Integer customerTarget;
|
|
@ExcelProperty("新增合同数目标")
|
private Integer contractCountTarget;
|
|
@ExcelProperty("备注")
|
private String remark;
|
|
}
|