Добавлен вывод позиций найденных паттернов
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
package ru.serega6531.packmate.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.List;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "service")
|
||||
@ToString(exclude = "streams")
|
||||
public class CtfService {
|
||||
|
||||
@Id
|
||||
@@ -18,8 +16,4 @@ public class CtfService {
|
||||
|
||||
private String name;
|
||||
|
||||
@OneToMany(mappedBy = "service", cascade = CascadeType.ALL, orphanRemoval = true)
|
||||
@JsonIgnore
|
||||
private List<Stream> streams;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user