-
Notifications
You must be signed in to change notification settings - Fork 5
/
UserProfilesOrganization.java
54 lines (40 loc) · 1.06 KB
/
UserProfilesOrganization.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package org.openconceptlab.fhir.model;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the user_profiles_organizations database table.
* @author harpatel1
*/
@Entity
@Table(name="user_profiles_organizations")
public class UserProfilesOrganization extends BaseOclEntity implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Integer id;
@ManyToOne
private Organization organization;
@ManyToOne
@JoinColumn(name = "userprofile_id")
private UserProfile userprofile;
public UserProfilesOrganization() {
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Organization getOrganization() {
return this.organization;
}
public void setOrganization(Organization organization) {
this.organization = organization;
}
public UserProfile getUserProfile() {
return this.userprofile;
}
public void setUserProfile(UserProfile userProfile) {
this.userprofile = userProfile;
}
}