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

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import lombok.Data;

import java.util.List;

@Data
public class SalesCommissionRuleUpdateEntity extends BaseUpdateEntity {

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