Fixed DbMigration classes (put them in the right place)

This commit is contained in:
Roland Praml
2023-06-13 17:20:02 +02:00
parent 462d30bbb7
commit 3e2e84e8bf
130 changed files with 517 additions and 486 deletions
@@ -0,0 +1,34 @@
package misc.migration.v1_1;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import java.util.List;
@Entity
@Table(name = "drop_ref_many")
public class DropRefMany {
@Id
Integer id;
@ManyToMany(cascade = {}, mappedBy = "refsMany")
List<DropMain> parents;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public List<DropMain> getParents() {
return parents;
}
public void setParents(List<DropMain> parents) {
this.parents = parents;
}
}