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

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class SalesRewardRobotUpdateEntity extends BaseUpdateEntity {

    /**
     * 姓名
     */
    @NotNull(message = "Please input name")
    @NotEmpty(message = "Please input name")
    private String salesName;

    /**
     * 入金客户数(最小值)
     */
    @NotNull(message = "Please input deposit custom num")
    private Integer depositCustomNumMin;

    /**
     * 入金客户数(最大值)
     */
    @NotNull(message = "Please input deposit custom num")
    private Integer depositCustomNumMax;

    /**
     * 入金金额(最小值)
     */
    @NotNull(message = "Please input deposit amount")
    private Integer depositAmountMin;

    /**
     * 入金金额(最大值)
     */
    @NotNull(message = "Please input deposit amount")
    private Integer depositAmountMax;

    /**
     * 交易客户数(最小值)
     */
    @NotNull(message = "Please trade custom num")
    private Integer tradeCustomNumMin;

    /**
     * 交易客户数(最大值)
     */
    @NotNull(message = "Please trade custom num")
    private Integer tradeCustomNumMax;

    /**
     * 奖励小计(最小值)
     */
    private Integer rewardAmountMin;

    /**
     * 奖励小计(最大值)
     */
    private Integer rewardAmountMax;

    /**
     * 奖励总计(最小值)
     */
    private Integer rewardAmountSumMin;

    /**
     * 奖励总计(最大值)
     */
    private Integer rewardAmountSumMax;

}
