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 com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户密码日志.
 * </p>
 *
 * @author zongpubin on 2023-12-07 12:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PasswordLogDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 归属平台.
   */
  private String sysOrigin;

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

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

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

  /**
   * 密码.
   */
  private String pwd;

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

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

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


}
