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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.storlead.sales.pojo.entity.target.TargetQuotaEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 目标方案主表
 * </p>
 *
 * @author YPZ
 * @since 2024-12-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TargetPlanScopeSettingDTO对象", description="参与范围设置DTO")
public class TargetPlanScopeSettingDTO implements Serializable {

    private static final long serialVersionUID = 1L;


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

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

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

//        @ApiModelProperty(value = "目标值")
//        private BigDecimal targetValue;
//
//        @ApiModelProperty(value = "方式（1汇总、2分配、3认领）")
//        private Integer method;

        @ApiModelProperty(value = "添加/修改的组织范围类型：1集团、2公司、3部门、4个人")
        private Integer organizationalType;

//        @ApiModelProperty(value = "公司范围id，逗号隔开")
//        private String companyScopeId;

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

//        @ApiModelProperty(value = "公司范围名称，逗号隔开")
//        private String companyScopeName;

        @ApiModelProperty(value = "公司范围名称List")
        private List<String> companyScopeNameList;

//        @ApiModelProperty(value = "部门范围id，逗号隔开")
//        private String deptScopeId;

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

//        @ApiModelProperty(value = "部门范围名称，逗号隔开")
//        private String deptScopeName;

        @ApiModelProperty(value = "部门范围名称List")
        private List<String> deptScopeNameList;

//        @ApiModelProperty(value = "用户范围id，逗号隔开")
//        private String userScopeId;

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

//        @ApiModelProperty(value = "用户范围名称，逗号隔开")
//        private String userScopeName;

        @ApiModelProperty(value = "用户范围名称List")
        private List<String> userScopeNameList;

        @ApiModelProperty(value = "目标配额List")
        private List<TargetQuotaEntity> targetQuotaList;

}
