File tree 3 files changed +8
-2
lines changed
src/main/java/com/supermarket/out
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 52
52
<artifactId >modelmapper</artifactId >
53
53
<version >2.4.4</version >
54
54
</dependency >
55
+ <dependency >
56
+ <groupId >org.springframework.boot</groupId >
57
+ <artifactId >spring-boot-starter-actuator</artifactId >
58
+ </dependency >
55
59
56
60
57
61
</dependencies >
Original file line number Diff line number Diff line change 13
13
@ AllArgsConstructor
14
14
@ Data
15
15
public class UserDTO {
16
- private int id ;
16
+ private String id ;
17
17
private String name ;
18
18
private String address ;
19
+ private double salary ;
19
20
20
21
}
Original file line number Diff line number Diff line change 16
16
@ Data
17
17
public class User {
18
18
@ Id
19
- private int id ;
19
+ private String id ;
20
20
private String name ;
21
21
private String address ;
22
+ private double salary ;
22
23
23
24
}
You can’t perform that action at this time.
0 commit comments