Hendrik Jungnitsch
2022-08-26 6ada13029014d185586ac74b0ede6f8e64facef5
src/main/java/de/gedoplan/seminar/jpa/exercise/domain/Junction.java
@@ -8,10 +8,7 @@
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@Entity
@Table(name = Junction.TABLE_NAME)
@@ -29,10 +26,6 @@
   private JunctionKind kind;
   private String no;
   @JsonIgnoreProperties("junctions")
   @ManyToOne
   private Highway highway;
   public Junction() {
@@ -74,15 +67,6 @@
   public void setNo(String no) {
      this.no = no;
   }
   public Highway getHighway() {
      return highway;
   }
   public void setHighway(Highway highway) {
      this.highway = highway;
   }
   @Override