File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package com .example .application .cobigenexample .customermanagement .dataaccess .api ;
2+
3+ import java .sql .Timestamp ;
4+
5+ import javax .persistence .Entity ;
6+ import javax .persistence .Table ;
7+
8+ @ Entity
9+ @ Table (name = "Customer" )
10+ public class CustomerEntity {
11+
12+ private String firstname ;
13+
14+ private String lastname ;
15+
16+ private int age ;
17+
18+ /**
19+ * @return the firstname
20+ */
21+ public String getFirstname () {
22+ return firstname ;
23+ }
24+
25+ /**
26+ * @param firstname the firstname to set
27+ */
28+ public void setFirstname (String firstname ) {
29+ this .firstname = firstname ;
30+ }
31+
32+ /**
33+ * @return the lastname
34+ */
35+ public String getLastname () {
36+ return lastname ;
37+ }
38+
39+ /**
40+ * @param lastname the lastname to set
41+ */
42+ public void setLastname (String lastname ) {
43+ this .lastname = lastname ;
44+ }
45+
46+ /**
47+ * @return the age
48+ */
49+ public int getAge () {
50+ return age ;
51+ }
52+
53+ /**
54+ * @param age the age to set
55+ */
56+ public void setAge (int age ) {
57+ this .age = age ;
58+ }
59+
60+ }
Original file line number Diff line number Diff line change 1+ private int age ;
2+ private String company ;
3+
4+ public String getCompany () {
5+ return company ;
6+ }
7+ public void setCompany (String company ) {
8+ this .company = company ;
9+ }
You can’t perform that action at this time.
0 commit comments