File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
core/src/main/java/jshop/core Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 8
8
import org .springframework .data .jpa .repository .config .EnableJpaRepositories ;
9
9
10
10
@ Configuration
11
+ @ EnableJpaAuditing
11
12
@ EnableJpaRepositories (repositoryFactoryBeanClass = EnversRevisionRepositoryFactoryBean .class )
12
13
@ ComponentScan (basePackages = {"jshop.infra" , "jshop.common" })
13
14
public class CoreConfig {
Original file line number Diff line number Diff line change 16
16
@ ToString
17
17
public class AddressInfoResponse {
18
18
19
+ private Long addressId ;
19
20
private String receiverName ;
20
21
private String receiverNumber ;
21
22
private String province ;
@@ -30,6 +31,7 @@ public class AddressInfoResponse {
30
31
public static AddressInfoResponse of (Address address ) {
31
32
return AddressInfoResponse
32
33
.builder ()
34
+ .addressId (address .getId ())
33
35
.receiverName (address .getReceiverName ())
34
36
.receiverNumber (address .getReceiverNumber ())
35
37
.message (address .getMessage ())
You can’t perform that action at this time.
0 commit comments