package com.lesingle.creation.dto.log;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 日志查询参数 DTO
 */
@Data
@Schema(description = "日志查询参数")
public class LogQueryDTO {

    @Schema(description = "页码", example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页大小", example = "20")
    private Integer pageSize = 20;

    @Schema(description = "用户 ID")
    private Long userId;

    @Schema(description = "操作类型")
    private String action;

    @Schema(description = "关键字")
    private String keyword;

    @Schema(description = "请求 IP")
    private String ip;

    @Schema(description = "开始时间")
    private String startTime;

    @Schema(description = "结束时间")
    private String endTime;
}
