Satyam
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcarecommonutil.vo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
/**
*
* @author user3
*/
@NamedQueries({
@NamedQuery(
name = "finddiagnosis",
query = "from TMyFav tc where tc.account = ? and tc.type = ?"
)
})
@Entity
@Table(name="t_myfav")
public class TMyFav implements java.io.Serializable{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name="id")
private Long id;
@ManyToOne
@JoinColumn(name="user_id")
private TAccount account;
@Column(name="obj_id")
private Long objId;
@Column(name="type")
private String type;
/*@ManyToOne
@JoinColumn(name="labs_procedure_id")
private TProcedureMaster procedure;
@ManyToOne
@JoinColumn(name="allergy_id")
private TAllergiesMaster allergy;
@ManyToOne
@JoinColumn(name="medication_id")
private TMedicationMaster medication;*/
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public TAccount getAccount() {
return account;
}
public void setAccount(TAccount account) {
this.account = account;
}
public Long getObjId() {
return objId;
}
public void setObjId(Long objId) {
this.objId = objId;
}
/*public TProcedureMaster getProcedure() {
return procedure;
}
public void setProcedure(TProcedureMaster procedure) {
this.procedure = procedure;
}
public TAllergiesMaster getAllergy() {
return allergy;
}
public void setAllergy(TAllergiesMaster allergy) {
this.allergy = allergy;
}
public TMedicationMaster getMedication() {
return medication;
}
public void setMedication(TMedicationMaster medication) {
this.medication = medication;
}*/
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 20 Jul, 2018 05:59:17 +0000 |
|