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


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房间徽章
 * <p>
 * -背包.
 * </p>
 *
 * @author pengliang
 * @since 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RoomBadgeBackpackDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

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

  /**
   * 徽章ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long badgeId;

  /**
   * 过期类型.
   */
  private String expireType;

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

}
