Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -8,6 +8,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@@ -28,30 +29,30 @@ public class LogData {
|
|||||||
@Schema(description ="timestamp")
|
@Schema(description ="timestamp")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date timestamp;
|
private LocalDateTime timestamp;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* module
|
* module
|
||||||
*/
|
*/
|
||||||
@Schema(description ="module")
|
@Schema(description ="警报源")
|
||||||
private String module;
|
private String module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* logtype
|
* logtype
|
||||||
*/
|
*/
|
||||||
@Schema(description ="logtype")
|
@Schema(description ="警报类型,组")
|
||||||
private String logtype;
|
private String logtype;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* logtext
|
* logtext
|
||||||
*/
|
*/
|
||||||
@Schema(description ="logtext")
|
@Schema(description ="警报内容")
|
||||||
private String logtext;
|
private String logtext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* status
|
* status
|
||||||
*/
|
*/
|
||||||
@Schema(description ="status")
|
@Schema(description ="状态")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user