fix:软件使用日志和统计
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package com.sdm.common.log.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
@@ -34,16 +36,19 @@ public class SysLogDTO {
|
||||
* 创建者
|
||||
*/
|
||||
private String createBy;
|
||||
private String creatorId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
private String[] createTimeArr;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
@@ -96,4 +101,10 @@ public class SysLogDTO {
|
||||
*/
|
||||
private Long tenantId;
|
||||
|
||||
@Schema(description = "当前页码")
|
||||
private Integer current;
|
||||
|
||||
@Schema(description = "每页显示数量")
|
||||
private Integer size;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user