new_model_for_communities #15

Merged
michele.artini merged 81 commits from new_model_for_communities into master 2023-10-24 08:12:26 +02:00
8 changed files with 17 additions and 17 deletions
Showing only changes of commit 552d8ae566 - Show all commits

View File

@ -1,6 +0,0 @@
package eu.dnetlib.openaire.community.db;
public enum CommunityType {
community,
ri
}

View File

@ -1,4 +1,4 @@
package eu.dnetlib.openaire.community.db;
package eu.dnetlib.openaire.community.db.enums;
public enum CommunityClaimType {
managersOnly,

View File

@ -1,4 +1,4 @@
package eu.dnetlib.openaire.community.db;
package eu.dnetlib.openaire.community.db.enums;
import javax.persistence.AttributeConverter;

View File

@ -1,4 +1,4 @@
package eu.dnetlib.openaire.community.db;
package eu.dnetlib.openaire.community.db.enums;
public enum CommunityMembershipType {

View File

@ -1,4 +1,4 @@
package eu.dnetlib.openaire.community.db;
package eu.dnetlib.openaire.community.db.enums;
import javax.persistence.AttributeConverter;

View File

@ -1,4 +1,4 @@
package eu.dnetlib.openaire.community.db;
package eu.dnetlib.openaire.community.db.enums;
public enum CommunityStatus {
all,

View File

@ -0,0 +1,6 @@
package eu.dnetlib.openaire.community.db.enums;
public enum CommunityType {
community,
ri
}

View File

@ -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")