谐波模块sql语句换成InfluxDBPublicParam
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
package com.njcn.system.pojo.param;
|
||||
|
||||
import com.njcn.common.pojo.constant.PatternRegex;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Pattern;
|
||||
|
||||
/**
|
||||
* @version 1.0.0
|
||||
* @author: chenchao
|
||||
* @date: 2022/07/11 19:24
|
||||
*/
|
||||
@Data
|
||||
public class AuditParam {
|
||||
|
||||
@ApiModelProperty("开始时间")
|
||||
@Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
|
||||
private String searchBeginTime;
|
||||
|
||||
@ApiModelProperty("结束时间")
|
||||
@Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
|
||||
private String searchEndTime;
|
||||
|
||||
@ApiModelProperty("用户名")
|
||||
private String userName;
|
||||
|
||||
@ApiModelProperty("事件类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("操作类型")
|
||||
private String operate;
|
||||
|
||||
@ApiModelProperty("页码")
|
||||
@NotNull(message = "页码不可为空")
|
||||
@Range(min = 1,message = "页码必须大于0")
|
||||
private Integer pageNum;
|
||||
|
||||
@ApiModelProperty("条数")
|
||||
@NotNull(message = "条数不可为空")
|
||||
@Range(min = 1,message = "条数必须大于0")
|
||||
private Integer pageSize;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.njcn.system.pojo.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @version 1.0.0
|
||||
* @author: chenchao
|
||||
* @date: 2022/07/11 19:20
|
||||
*/
|
||||
@Data
|
||||
public class AuditLogVO {
|
||||
|
||||
/**
|
||||
* time
|
||||
*/
|
||||
@ApiModelProperty("time")
|
||||
private String time;
|
||||
/**
|
||||
* 操作人员
|
||||
*/
|
||||
@ApiModelProperty("操作人员")
|
||||
private String userName;
|
||||
/**
|
||||
* 操作类型
|
||||
*/
|
||||
@ApiModelProperty("操作类型")
|
||||
private String operate;
|
||||
/**
|
||||
* 事件描述
|
||||
*/
|
||||
@ApiModelProperty("事件描述")
|
||||
private String describe;
|
||||
/**
|
||||
* 事件类型
|
||||
*/
|
||||
@ApiModelProperty("事件类型")
|
||||
private String operateType;
|
||||
/**
|
||||
* 操作结果
|
||||
*/
|
||||
@ApiModelProperty("操作结果")
|
||||
private String result;
|
||||
/**
|
||||
* 操作IP
|
||||
*/
|
||||
@ApiModelProperty("操作IP")
|
||||
private String ip;
|
||||
/**
|
||||
* 事件等级
|
||||
*/
|
||||
@ApiModelProperty("事件等级")
|
||||
private String level;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user