package com.competition.modules.sys.dto;

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

@Data
@Schema(description = "日志查询参数")
public class QueryLogDto {

    @Schema(description = "页码", defaultValue = "1")
    private Long page = 1L;

    @Schema(description = "每页大小", defaultValue = "20")
    private Long pageSize = 20L;

    @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;
}
