-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLicenceBean.java
More file actions
103 lines (75 loc) · 1.88 KB
/
Copy pathLicenceBean.java
File metadata and controls
103 lines (75 loc) · 1.88 KB
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
package com.rto.bean;
import java.io.InputStream;
import java.sql.Blob;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name="r_licence")
public class LicenceBean extends BaseBean{
@Column(name="applicantname",length=45)
private String applicantName;
@Column(name="gender",length=45)
private String gender;
@Column(name="dob",length=45)
private Date dob;
@Column(name="status")
private String status;
@Column(name="placeofbirth",length=45)
private String placeOfBirth;
@Column(name="address",length=145)
private String address;
@Column(name="typeoflicence",length=45)
private String typeOfLicence;
@Column(name="photo")
private Blob photo;
public String getApplicantName() {
return applicantName;
}
public void setApplicantName(String applicantName) {
this.applicantName = applicantName;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public Date getDob() {
return dob;
}
public void setDob(Date dob) {
this.dob = dob;
}
public String getPlaceOfBirth() {
return placeOfBirth;
}
public void setPlaceOfBirth(String placeOfBirth) {
this.placeOfBirth = placeOfBirth;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getTypeOfLicence() {
return typeOfLicence;
}
public void setTypeOfLicence(String typeOfLicence) {
this.typeOfLicence = typeOfLicence;
}
public Blob getPhoto() {
return photo;
}
public void setPhoto(Blob inputStream) {
this.photo = inputStream;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}