KNH_Project
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
|
/*
* 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.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
/**
*
* @author Anshu1
*/
@NamedQueries({
@NamedQuery(
name = "findRecentPatientById",
query = "from TRecentPatient patient where patient.patientId = ? order by id asc"
),
@NamedQuery(
name = "deleteRecentPatientByMinId",
query = "from TRecentPatient patient order by patient.id asc limit 1"
),
@NamedQuery(
name = "findAllRecentPatientrecords",
query = "from TRecentPatient patient order by id desc"
)
})
@Entity
@Table(name="t_recent_patient")
public class TRecentPatient implements java.io.Serializable{
//@Id@GeneratedValue
/** The id. */
@Id@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
/** The patient id. */
@Column(name="patient_id")
private String patientId;
/**
* Gets the id.
*
* @return the id
*/
public Long getId() {
return this.id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(Long id) {
this.id = id;
}
/**
* Gets the patient id.
*
* @return the patient id
*/
public String getPatientId() {
return this.patientId;
}
/**
* Sets the patient id.
*
* @param patientId the new patient id
*/
public void setPatientId(String patientId) {
this.patientId = patientId;
}
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 13:29:42 +0000 |
|