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

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.user.UserProfileDTO;
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 pengshigang
 * @since 2022-8-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameTrumpetRecordCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 系统.
   */
  private String sysOrigin;

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

  /**
   * 用户.
   */
  private UserProfileDTO userProfile;

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

  /**
   * 支付金额.
   */
  private BigDecimal amount;

  /**
   * 内容.
   */
  private String message;

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

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

  /**
   * 修改人.
   */
  private String opsUpdateUserNickname;

}
