package com.red.circle.other.inner.model.dto.user;

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 pengliang on 2022-9-14
 */
@Data
@Accessors(chain = true)
public class PageInviteUserRegisterDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

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

  /**
   * 邀请用户.
   */
  private UserProfileDTO userProfile;

  /**
   * 被邀请用户.
   */
  private UserProfileDTO beUserProfile;

  /**
   * 被邀请设备ID
   */
  private String deviceId;

  /**
   * 佣金
   */
  private BigDecimal commission;

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

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

}
