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