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.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户房间主题背包
 * </p>
 *
 * @author pengliang
 * @since 2021-01-23
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class RoomThemeUserBackpackDTO implements Serializable {

  @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 themeId;

  /**
   * 0.主题商城 1.自定义
   */
  private Integer themeType;

  /**
   * 是否使用主题
   */
  private Boolean useTheme;

  /**
   * 过期时间
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long expireTime;


}
