Доделан поиск сигнатур

This commit is contained in:
serega6531
2019-04-30 22:35:57 +03:00
parent 64507a6d07
commit a121a5550d
6 changed files with 99 additions and 81 deletions

View File

@@ -3,9 +3,8 @@ package ru.serega6531.packmate.model;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.*;
import java.util.List;
@Data
@Entity
@@ -30,4 +29,7 @@ public class Pattern {
private String color; // для вставки в css
@ManyToMany(mappedBy = "foundPatterns", cascade = CascadeType.ALL)
private List<Stream> matchedStreams;
}