File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed
src/main/java/com/dunkcoder/s3dwr3sample Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com .dunkcoder .s3dwr3sample .model ;
2
+
3
+ public class User {
4
+ private long id ;
5
+ private String username ;
6
+ private String email ;
7
+ private String memo ;
8
+
9
+ public long getId () {
10
+ return id ;
11
+ }
12
+
13
+ public void setId (long id ) {
14
+ this .id = id ;
15
+ }
16
+
17
+ public String getUsername () {
18
+ return username ;
19
+ }
20
+
21
+ public void setUsername (String username ) {
22
+ this .username = username ;
23
+ }
24
+
25
+ public String getEmail () {
26
+ return email ;
27
+ }
28
+
29
+ public void setEmail (String email ) {
30
+ this .email = email ;
31
+ }
32
+
33
+ public String getMemo () {
34
+ return memo ;
35
+ }
36
+
37
+ public void setMemo (String memo ) {
38
+ this .memo = memo ;
39
+ }
40
+
41
+ }
Original file line number Diff line number Diff line change
1
+ package com .dunkcoder .s3dwr3sample .service ;
2
+
3
+ import com .dunkcoder .s3dwr3sample .model .User ;
4
+
5
+ public class UserService {
6
+
7
+ public UserService () {
8
+ }
9
+
10
+ public User getUser () throws Exception {
11
+ User user = new User ();
12
+ user .setId (1 );
13
+ user .setUsername ("s3dwr3.sample" );
14
+ user .setEmail ("s3dwr3.sample@dunkcoder" );
15
+ return user ;
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments