提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.logger.vo.apiaccesslog; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageParam; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.Data; |
|
6 |
import lombok.EqualsAndHashCode; |
|
7 |
import lombok.ToString; |
|
8 |
import org.springframework.format.annotation.DateTimeFormat; |
|
9 |
|
|
10 |
import java.time.LocalDateTime; |
|
11 |
|
|
12 |
import static com.iailab.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
|
13 |
|
|
14 |
@Schema(description = "管理后台 - API 访问日志分页 Request VO") |
|
15 |
@Data |
|
16 |
@EqualsAndHashCode(callSuper = true) |
|
17 |
@ToString(callSuper = true) |
|
18 |
public class ApiAccessLogPageReqVO extends PageParam { |
|
19 |
|
|
20 |
@Schema(description = "用户编号", example = "666") |
|
21 |
private Long userId; |
|
22 |
|
|
23 |
@Schema(description = "用户类型", example = "2") |
|
24 |
private Integer userType; |
|
25 |
|
|
26 |
@Schema(description = "应用名", example = "dashboard") |
|
27 |
private String applicationName; |
|
28 |
|
|
29 |
@Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy") |
|
30 |
private String requestUrl; |
|
31 |
|
|
32 |
@Schema(description = "开始时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]") |
|
33 |
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
|
34 |
private LocalDateTime[] beginTime; |
|
35 |
|
|
36 |
@Schema(description = "执行时长,大于等于,单位:毫秒", example = "100") |
|
37 |
private Integer duration; |
|
38 |
|
|
39 |
@Schema(description = "结果码", example = "0") |
|
40 |
private Integer resultCode; |
|
41 |
|
|
42 |
} |