package com.red.circle.order.inner.model.dto.anchor;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户退款影响至主播业绩减少情况记录表.
 * </p>
 *
 * @author pengshigang
 * @since 2021-10-28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class RoomRefundAnchorTrackRecordDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 来源系统.
   */
  private String sysOrigin;

  /**
   * 主播业绩被减少的年月.
   */
  private Integer years;

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

  /**
   * 退款人用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long refunderUserId;

  /**
   * 主播被减少的糖果数.
   */
  private BigDecimal candyQuantity;

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


}
