Add system log api

This commit is contained in:
2023-10-23 16:08:43 +08:00
parent f927851cb0
commit 634e2f6a67
17 changed files with 240 additions and 68 deletions

View File

@@ -0,0 +1,17 @@
package top.fatweb.api.param.system
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.Min
import java.io.Serializable
@Schema(description = "获取系统日志请求参数")
class SysLogGetParam : Serializable {
@Schema(description = "分页页码", example = "1", defaultValue = "1")
@Min(1, message = "Pagination page number must be a positive integer")
val page: Long = 1
@Schema(description = "分页大小", example = "20", defaultValue = "20")
@Min(1, message = "The number of data per page must be a positive integer")
val pageSize: Long = 20
}