Advertisement
IronJoo

ProjectCallSubmissionInternalUserParticipation

Nov 27th, 2024
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.97 KB | None | 0 0
  1. package models.db.core.project;
  2.  
  3. import com.fasterxml.jackson.annotation.JsonIncludeProperties;
  4. import com.fasterxml.jackson.annotation.JsonProperty;
  5. import io.ebean.Model;
  6. import jakarta.persistence.*;
  7. import models.db.core.enums.project.ProjectResearcherParticipationType;
  8. import models.db.user.User;
  9.  
  10. /**
  11.  * This class represents the participation
  12.  * of an internal user in a project call submission
  13.  *
  14.  * @author jfsfo
  15.  */
  16.  
  17. @Entity
  18. @Table(name = "core_project_project_call_submission_internal_user_participation")
  19. public class ProjectCallSubmissionInternalUserParticipation extends Model {
  20.  
  21.     @Id
  22.     private Long id;
  23.  
  24.     // The participating user
  25.     @ManyToOne
  26.     private User user;
  27.  
  28.     // The project call submission in which the user participates
  29.     @ManyToOne
  30.     private ProjectCallSubmission projectCallSubmission;
  31.  
  32.     // The type of participation of the user
  33.     @ManyToOne
  34.     private ProjectResearcherParticipationType participationType;
  35. }
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement