package com.red.circle.other.infra.database.mongo.entity.game.trumpet;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * <p>
 * 喇叭 前端控制器.
 * </p>
 *
 * @author pengshigang
 * @since 2022-8-9
 */
@Data
@Accessors(chain = true)
@Document("game_trumpet_count")
public class GameTrumpetCount implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

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

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

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

  /**
   * 语言.
   */
  private String language;

  /**
   * 是否已删除
   */
  private Boolean del;

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

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

  /**
   * 修改人.
   */
  private Long updateUser;

}
