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;

/**
 * 团队成员统计结果.
 *
 * @author system
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class TeamMemberCountResultCO extends ClientObject {

  /**
   * 成员数量.
   */
  private Integer memberQuantity;

  /**
   * 等级（挡位）.
   */
  private Integer level;

  /**
   * 目标总和格式化.
   */
  private String targetFormatSum;

  /**
   * 目标总和原始值.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long targetSum;

}
