package com.red.circle.console.app.dto.clienobject.room;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.live.RoomProfileDTO;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 房间贡献统计.
 *
 * @author pengliang on 2023/11/23
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class RoomContributionBalanceCountTimeTableCO extends ClientObject {

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

  /**
   * 总额数量.
   */
  private BigDecimal totalQuantity;

  /**
   * 日期.
   */
  private Integer dateNumber;

  /**
   * 提取数量.
   */
  private BigDecimal withdrawQuantity;

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

  /**
   * 房间资料.
   */
  private RoomProfileDTO roomProfile;

}
