package com.storlead.sales.pojo.vo.target;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.storlead.framework.annotate.Dict;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/***
  * @Description: 业绩目标查询List
  * @Param:
  * @return:
  * @Author: YPZ
  * @Date: 2024/12/20 15:22
  */

@Data
public class TargetPlanDetailVO {

    @ApiModelProperty(value = "目标方案主键")
    private Long id;

    @ApiModelProperty(value = "所属年度")
    private String year;

    @ApiModelProperty(value = "方式（1汇总、2分配、3认领）")
    @Dict(dictCode = "target_method",valueField = "methodName")
    private Integer method;

    @ApiModelProperty(value = "方式（1汇总、2分配、3认领）")
    private String methodName;

    @ApiModelProperty(value = "周期（1季度、2月度）")
    @Dict(dictCode = "target_cycle",valueField = "cycleName")
    private Integer cycle;

    @ApiModelProperty(value = "周期（1季度、2月度）")
    private String cycleName;

    @ApiModelProperty(value = "指标类型（10新增客户、11新增线索、12跟进次数、30新增商机、40成交订单、41成交金额）")
    @Dict(dictCode = "target_type",valueField = "typeName")
    private Integer type;

    @ApiModelProperty(value = "指标类型（10新增客户、11新增线索、12跟进次数、30新增商机、40成交订单、41成交金额）")
    private String typeName;

}
