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

/**
 * @author zongpubin on 2023/12/07
 */
@Data
@Accessors(chain = true)
public class UserPasswordLogCO implements Serializable {

  private static final long serialVersionUID = 1L;

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

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


  /**
   * 机器码.
   */
  private String imei;

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

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

  /**
   * 操作类型（设置、修改）
   */
  private String operateType;


  /**
   * 业务类型（账号、手机号、支付...）.
   */
  private String businessType;

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

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