Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package models.db.core.project;
- import com.fasterxml.jackson.annotation.JsonProperty;
- import io.ebean.annotation.DbJsonB;
- import jakarta.persistence.*;
- import models.db.core.enums.project.ProjectResearcherParticipationType;
- import utils.core.common.GenericInstitution;
- /**
- * This class represents the participation
- * of an external institution in a project call submission
- *
- * @author jfsfo
- */
- @Entity
- @Table(name = "core_project_project_call_submission_external_institution_participation")
- public class ProjectCallSubmissionExternalInstitutionParticipation {
- @Id
- private Long id;
- // The project call submission in which the institution participates
- @ManyToOne
- private ProjectCallSubmission projectCallSubmission;
- // The type of participation of the institution
- @ManyToOne
- private ProjectResearcherParticipationType participationType;
- // The participating external institution
- @DbJsonB
- @JsonProperty(value = "generic_institution")
- @Column(name = "generic_institution")
- private GenericInstitution genericInstitution;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement