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

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.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邀请新用户-助力记录.
 * </p>
 *
 * @author pengshigang on 2023-12-05 17:21
 */
@Data
@Accessors(chain = true)
public class InviteRedPacketHelpLogDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

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

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

  /**
   * 用户资料信息.
   */
  private UserProfileDTO userProfile;

  /**
   * 邀请人id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long inviteUserId;

  /**
   * 邀请人.
   */
  private UserProfileDTO inviteUserProfile;

  /**
   * 用户类型.
   */
  private String userType;

  /**
   * 用户类型描述.
   */
  private String userTypeName;

  /**
   * 邀请人设备号.
   */
  private String inviteImei;

  /**
   * 邀请人IP.
   */
  private String inviteIp;

  /**
   * 助力人设备号.
   */
  private String imei;

  /**
   * 助力人IP.
   */
  private String ip;

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


}
