Добавлен поиск паттернов в прошлых стримах
This commit is contained in:
@@ -6,6 +6,7 @@ import org.hibernate.annotations.GenericGenerator;
|
||||
import ru.serega6531.packmate.model.enums.Protocol;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -40,8 +41,8 @@ public class Stream {
|
||||
|
||||
private long endTimestamp;
|
||||
|
||||
@ManyToMany(cascade = CascadeType.ALL)
|
||||
private Set<Pattern> foundPatterns;
|
||||
@ManyToMany
|
||||
private Set<Pattern> foundPatterns = new HashSet<>();
|
||||
|
||||
private boolean favorite;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user