package com.red.circle.other.infra.database.mongo.entity.sys.query;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2022/9/19
 */
@Data
@Accessors(chain = true)
public class ApiOperationLogQuery implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 业务code.
   */
  private String businessCode;

  /**
   * 业务内容.
   */
  private String businessContent;

  /**
   * 开始时间.
   */
  private LocalDateTime startTime;

  /**
   * 结束时间.
   */
  private LocalDateTime endTime;

  /**
   * 命令匹配.
   */
  private String cmdRegex;

  /**
   * 最后一条记录id.
   */
  private String lastId;

  /**
   * 数量.
   */
  private Integer size;

}
