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

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.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房间贡献余额.
 * </p>
 *
 * @author pengliang on 2021/03/01
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class RoomContributionBalanceDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

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

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

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

  private Timestamp createTime;

  private Timestamp updateTime;

  private Long createUser;

  private Long updateUser;
}
