Исправлено отображение ttl больше 127

This commit is contained in:
serega6531
2021-01-10 05:33:53 +03:00
parent ee7cc00914
commit ba63899af4
5 changed files with 9 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ public class Packet {
private Long tempId;
@Transient
private byte ttl;
private int ttl;
@ManyToOne
@JoinColumn(name = "stream_id", nullable = false)

View File

@@ -46,7 +46,8 @@ public class Stream {
private boolean favorite;
private byte ttl;
@Column(columnDefinition = "smallint")
private int ttl;
@Column(columnDefinition = "char(3)")
private String userAgentHash;

View File

@@ -15,7 +15,7 @@ public class StreamDto {
private long endTimestamp;
private Set<PatternDto> foundPatterns;
private boolean favorite;
private byte ttl;
private int ttl;
private String userAgentHash;
}