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 java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 道具资源信息.
 * </p>
 *
 * @author pengliang
 * @since 2021-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserPropsResourcesDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 类型.
   */
  private String type;

  /**
   * 编号.
   */
  private String code;

  /**
   * 名称.
   */
  private String name;

  /**
   * 封面图.
   */
  private String cover;

  /**
   * 资源链接.
   */
  private String sourceUrl;

  /**
   * 扩展内容.
   */
  private String expand;

  /**
   * 底价.
   */
  private BigDecimal amount;


}
