We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cea0a6f commit da933c2Copy full SHA for da933c2
2 files changed
apps/commerce-api/src/main/java/com/loopers/domain/point/Point.java
@@ -12,7 +12,7 @@
12
@Table(name = "point")
13
@NoArgsConstructor(access = lombok.AccessLevel.PROTECTED)
14
public class Point extends BaseEntity {
15
- @Column(name = "user_id", nullable = false)
+ @Column(name = "ref_user_id", nullable = false)
16
private Long userId;
17
@Column(nullable = false)
18
private Long balance;
apps/commerce-api/src/main/java/com/loopers/infrastructure/point/PointRepositoryImpl.java
@@ -8,7 +8,7 @@
8
9
@Component
10
public class PointRepositoryImpl implements PointRepository {
11
- private PointJpaRepository pointJpaRepository;
+ private final PointJpaRepository pointJpaRepository;
public PointRepositoryImpl(PointJpaRepository pointJpaRepository) {
this.pointJpaRepository = pointJpaRepository;
0 commit comments