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

import com.crm.rely.backend.core.constant.Constants;
import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SalesCommissionManualAddEntity extends BaseAddEntity {

    @NotNull(message = Constants.PARAMETER_ERROR)
    private Long salesId;

    @NotNull(message = Constants.PARAMETER_ERROR)
    private String ym;

    private Float salaryAmount;

    private Float personalVolumeAmount;

    private Float teamVolumeAmount;

    private Float personalKpiAmount;

    private Float teamKpiAmount;
    /**
     * 1: 试用期
     * 2: 转正
     */
    @NotNull(message = Constants.PARAMETER_ERROR)
    private Integer entryType;

}
