package com.red.circle.console.infra.database.rds.dto.admin;

import com.red.circle.framework.dto.DTO;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统操作日志记录.
 * </p>
 *
 * @author pengliang on 2019-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OperationLogDTO extends DTO {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  private Long id;

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

  /**
   * 方法全类名.
   */
  private String method;

  /**
   * 操作.
   */
  private String operation;

  /**
   * 参数.
   */
  private String params;

  /**
   * ip地址.
   */
  private String ip;

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

  /**
   * 用户昵称.
   */
  private String nickname;

}
