mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fixed DbMigration classes (put them in the right place)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user