package com.red.circle.other.inner.model.dto.user.props;

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;

/**
 * @author pengliang on 2022/2/19
 */
@Data
public class UserUsePropsDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 道具资源信息.
   */
  private UserPropsResourcesDTO propsResources;

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

}
