package com.red.circle.wallet.inner.model.dto;

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

/**
 * VIP赠送金币记录DTO.
 *
 * @author pengliang
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class VipGiveawayGoldRecordDTO extends DTO {

  private static final long serialVersionUID = 1L;

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

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

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

  /**
   * 金额(分).
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long pennyAmount;

  /**
   * 金额(元).
   */
  private BigDecimal amount;

  /**
   * 当前余额(分).
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long pennyBalance;

  /**
   * 类型0.收入 1.消耗.
   */
  private Integer type;

  /**
   * 事件类型.
   */
  private String eventType;

  /**
   * 事件描述.
   */
  private String eventDesc;

  /**
   * 事件id(订单，关联信息).
   */
  private String eventId;

  /**
   * 操作用户类型(0.app用户， 1.后台管理用户).
   */
  private Integer opUserType;

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

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  /**
   * VIP类型.
   */
  private String vipType;

  /**
   * VIP等级.
   */
  private Integer vipLevel;

  /**
   * 登录奖励金额.
   */
  private BigDecimal loginRewardsAmount;

}
