package com.red.circle.other.inner.model.dto.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.enums.activity.KingQueenType;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 每周king&queen统计.
 */
@Data
public class WeekKingQueenCountVO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  String id;

  /**
   * 归属平台.
   */
  String sysOrigin;

  /**
   * 用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  Long userId;

  /**
   * 用户性别:0 女，1 男.
   */
  private Integer userSex;

  /**
   * 排名
   */
  Integer rank;

  /**
   * 类型.
   */
  KingQueenType type;

  /**
   * 分组.
   */
  String group;

  /**
   * 数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  Long quantity;

  /**
   * 创建时间.
   */
  Timestamp createTime;

  /**
   * 过期时间.
   */
  Timestamp expiredTime;

}
