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 java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 道具购买流水.
 * </p>
 *
 * @author pengshigang
 * @since 2021-6-11
 */
@Data
@Accessors(chain = true)
public class RunningWaterUserPropsDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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


  /**
   * 道具来源.
   */
  private String origin;

  /**
   * 道具来源描述.
   */
  private String originDesc;

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

  /**
   * 道具购买金币.
   */
  private BigDecimal propsCandy;

  /**
   * 道具id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long propsId;

  /**
   * 道具来源.
   */
  private String propsOrigin;

  /**
   * 道具来源描述.
   */
  private String propsOriginDesc;

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

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

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

  /**
   * 购买人ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long buyerId;

  /**
   * 接收人ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long receiverId;

  /**
   * 创建人
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createUser;

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

}
