Skip to content

Commit

Permalink
comment(Product): @Version 어노테이션 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzzseong committed Feb 2, 2024
1 parent c8c7b91 commit 363c60c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/sportsecho/product/entity/Product.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public class Product extends TimeStamp {
@Column(name = "quantity", nullable = false)
private int quantity;

//상품구매시 낙관적 락을 위한 버전 관리
@Version
private Long version;

Expand Down

0 comments on commit 363c60c

Please sign in to comment.