new_model_for_communities #15
|
@ -1,6 +0,0 @@
|
|||
package eu.dnetlib.openaire.community.db;
|
||||
|
||||
public enum CommunityType {
|
||||
community,
|
||||
ri
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package eu.dnetlib.openaire.community.db;
|
||||
package eu.dnetlib.openaire.community.db.enums;
|
||||
|
||||
public enum CommunityClaimType {
|
||||
managersOnly,
|
|
@ -1,4 +1,4 @@
|
|||
package eu.dnetlib.openaire.community.db;
|
||||
package eu.dnetlib.openaire.community.db.enums;
|
||||
|
||||
import javax.persistence.AttributeConverter;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.dnetlib.openaire.community.db;
|
||||
package eu.dnetlib.openaire.community.db.enums;
|
||||
|
||||
public enum CommunityMembershipType {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.dnetlib.openaire.community.db;
|
||||
package eu.dnetlib.openaire.community.db.enums;
|
||||
|
||||
import javax.persistence.AttributeConverter;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package eu.dnetlib.openaire.community.db;
|
||||
package eu.dnetlib.openaire.community.db.enums;
|
||||
|
||||
public enum CommunityStatus {
|
||||
all,
|
|
@ -0,0 +1,6 @@
|
|||
package eu.dnetlib.openaire.community.db.enums;
|
||||
|
||||
public enum CommunityType {
|
||||
community,
|
||||
ri
|
||||
}
|
|
@ -21,12 +21,12 @@ import com.vladmihalcea.hibernate.type.array.StringArrayType;
|
|||
import com.vladmihalcea.hibernate.type.json.JsonBinaryType;
|
||||
import com.vladmihalcea.hibernate.type.json.JsonStringType;
|
||||
|
||||
import eu.dnetlib.openaire.community.db.CommunityClaimType;
|
||||
import eu.dnetlib.openaire.community.db.CommunityClaimTypeConverter;
|
||||
import eu.dnetlib.openaire.community.db.CommunityMembershipType;
|
||||
import eu.dnetlib.openaire.community.db.CommunityMembershipTypeConverter;
|
||||
import eu.dnetlib.openaire.community.db.CommunityStatus;
|
||||
import eu.dnetlib.openaire.community.db.CommunityType;
|
||||
import eu.dnetlib.openaire.community.db.enums.CommunityClaimType;
|
||||
import eu.dnetlib.openaire.community.db.enums.CommunityClaimTypeConverter;
|
||||
import eu.dnetlib.openaire.community.db.enums.CommunityMembershipType;
|
||||
import eu.dnetlib.openaire.community.db.enums.CommunityMembershipTypeConverter;
|
||||
import eu.dnetlib.openaire.community.db.enums.CommunityStatus;
|
||||
import eu.dnetlib.openaire.community.db.enums.CommunityType;
|
||||
|
||||
@Entity
|
||||
@Table(name = "communities")
|
||||
|
|
Loading…
Reference in New Issue