Добавлены DTO для всех entity
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package ru.serega6531.packmate.model.pojo;
|
||||
|
||||
import lombok.Data;
|
||||
import ru.serega6531.packmate.model.enums.Protocol;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
@Data
|
||||
public class StreamDto {
|
||||
|
||||
private Long id;
|
||||
private int service;
|
||||
private Protocol protocol;
|
||||
private long startTimestamp;
|
||||
private long endTimestamp;
|
||||
private Set<PatternDto> foundPatterns;
|
||||
private boolean favorite;
|
||||
private byte ttl;
|
||||
private String userAgentHash;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user