package com.crm.rely.backend.core.dto.sales;

import com.crm.rely.backend.core.dto.base.BaseInfoDto;
import com.crm.rely.backend.core.entity.sales.SalesCommissionSalaryRuleEntity;
import com.crm.rely.backend.core.entity.sales.SalesCommissionVolumeRuleEntity;
import lombok.Data;

import java.util.List;

@Data
public class SalesCommissionRuleDto extends BaseInfoDto {

    /**
     * 规则名称
     */
    private String ruleName;
    /**
     * enum SalesType
     */
    private Integer salesType;
    /**
     * 考核标准
     * 1.净入金
     * 2.毛入金
     */
    private Integer kpiStandard;
    /**
     * 底薪规则
     */
    private List<SalesCommissionSalaryRuleEntity> salaryRule;
    /**
     * 团队底薪规则
     */
    private List<SalesCommissionSalaryRuleEntity> teamSalaryRule;
    /**
     * 个人净入金绩效规则
     */
    private List<SalesCommissionSalaryRuleEntity> personalKpiRule;
    /**
     * 团队净入金绩效规则
     */
    private List<SalesCommissionSalaryRuleEntity> teamKpiRule;
    /**
     * 个人交易量佣金规则
     */
    private List<SalesCommissionVolumeRuleEntity> personalVolumeRule;
    /**
     * 团队交易量佣金规则
     */
    private List<SalesCommissionVolumeRuleEntity> teamVolumeRule;
}
