package com.red.circle.other.app.dto.clientobject.user.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 邀请用户收入流水表.
 * </p>
 *
 * @author Chowking on 2021/4/27
 * @since pengliang on 2021/5/26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class InviteUserRewardRecordCO extends ClientObject {

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

  /**
   * 被邀请人用户.
   */
  private UserProfileDTO inviteUserProfile;

  /**
   * 获得金额数量.
   */
  private BigDecimal amount;

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

}
