Advertisement
IronJoo

Untitled

Feb 14th, 2025
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.01 KB | None | 0 0
  1. @Entity
  2. @Table(name = "core_project_project_call_submission_external_user_participation")
  3. public class ProjectCallSubmissionExternalUserParticipation extends Model {
  4.     public static final int MAX_SIZE_NAME = 100;
  5.     public static final int MAX_SIZE_EMAIL = 254;
  6.  
  7.     @Id
  8.     private Long id;
  9.  
  10.     // The name of the participating user
  11.     @Column(name = "name", length = MAX_SIZE_NAME)
  12.     private String name;
  13.  
  14.     // The email of the participating user
  15.     @Column(name = "email", length = MAX_SIZE_EMAIL)
  16.     private String email;
  17.  
  18.     // The project call submission in which the user participates
  19.     @ManyToOne
  20.     private ProjectCallSubmission projectCallSubmission;
  21.  
  22.     // The type of participation of the user
  23.     @ManyToOne
  24.     private ProjectResearcherParticipationType participationType;
  25.  
  26.     // The external institution of the user
  27.     @DbJsonB
  28.     @JsonProperty(value = "generic_institution")
  29.     @Column(name = "generic_institution")
  30.     private GenericInstitution genericInstitution;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement