package com.red.circle.other.app.dto.clientobject.team;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 代理.
 *
 * @author pengliang on 2022/10/10
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class BdAgentCountCO extends ClientObject {

  /**
   * 代理数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long agentQuantity;

  /**
   * 本月总目标.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private BigDecimal thisMonthTotalTarget;

  /**
   * 本月总目标， 格式化.
   */
  private String thisMonthTotalTargetFormat;

  /**
   * BD等级.
   */
  private Integer bdLevel;

  /**
   * 永久百分比.
   */
  private Integer foreverPercentage;

  /**
   * 是否达标.
   */
  private Boolean qualified;

  /**
   * 需要的代理数量.
   */
  private Integer requiredAgentNumber;

  /**
   * 需要的团队薪资.
   */
  private Integer requiredTeamSalary;

}
