package com.red.circle.console.app.dto.clienobject.count.user;

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

import java.io.Serial;
import java.util.List;

/**
 * @author lixiaofei on 2024/7/29
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class SysOriginUserRegisterCountCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 注册总数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Integer total;

  /**
   * 用户统计.
   */
  private List<SysOriginUserCO> userCount;

}
