package com.red.circle.console.app.dto.clienobject.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邀请奖励流水表.
 * </p>
 *
 * @author Chowking
 * @since 2021-05-08
 */
@Data
@Accessors(chain = true)
public class InviteUserRewardRecordCO implements Serializable {

  private static final long serialVersionUID = 1L;

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

  /**
   * 用户ID.
   */
  private Long userId;

  /**
   * 被邀请用户ID.
   */
  private Long inviteUserId;

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

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

  /**
   * 来源类型-名称.
   */
  private String originName;

  /**
   * 数量.
   */
  private BigDecimal quantity;

  /**
   * 用户信息.
   */
  private UserProfileDTO userProfileDTO;

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

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

}
