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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.storlead.framework.annotate.AnnotateEnumType;
import com.storlead.framework.annotate.Dict;
import com.storlead.framework.annotate.OrgAutoMateAnnotate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

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

@Data
public class TargetQuotaDetailsVO {

    @ApiModelProperty(value = "目标配额主键")
    private Long id;

    @ApiModelProperty(value = "关联目标计划表主键")
    private Long targetPlanId;

    @ApiModelProperty(value = "组织类型（1集团、2公司、3部门、4个人）")
    private Integer organizationalType;

    @ApiModelProperty(value = "组织id")
    private Long organizationalId;

    @ApiModelProperty(value = "下级范围id，逗号隔开")
    private String subScopeId;

    @ApiModelProperty(value = "下级范围idList")
    private List<Long> subScopeIdList;

    @ApiModelProperty(value = "下级范围名称，逗号隔开")
    private String subScopeName;

    @ApiModelProperty(value = "公司范围idList")
    private List<Long> companyScopeIdList;

    @ApiModelProperty(value = "部门范围idList")
    private List<Long> deptScopeIdList;

    @ApiModelProperty(value = "用户范围idList")
    private List<Long> userScopeIdList;

    @ApiModelProperty(value = "父级目标配额id")
    private Long parentId;

    @ApiModelProperty(value = "认领状态（0未完成、1已完成）")
    private Integer status;

    @ApiModelProperty(value = "总计")
    private BigDecimal total;

    @ApiModelProperty(value = "关联目标List")
    private List<TargetQuotaDetailsListVO> targetQuotaList;



}
