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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 房间贡献活动.
 *
 * @author pengshigang on 2022/10/25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class RoomContributionActivityCountDTO extends DTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  private String id;

  /**
   * 房间id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long roomId;

  /**
   * 周贡献值.
   */
  private BigDecimal contributionValue;

  /**
   * 时间.
   */
  private Integer dateNumber;

  /**
   * 时间(true=已领取).
   */
  private Boolean received;

  /**
   * 奖励金币是否已发放.
   */
  private Boolean rewardCoinsSent;

  /**
   * 比例.
   */
  private BigDecimal ratio;

  /**
   * 可提取金币数量.
   */
  private BigDecimal balance;

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

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

}
