Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: payment에 컬럼 추가(#66) #68

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class Payment extends BaseTimeEntity {
private Long id;
@Column(name = "payment_uuid", nullable = false, unique = true, length = 9)
private String paymentUuid;
@Column(name = "imp_uid", nullable = true, length = 20)
private String impUid;
@Column(name = "auction_uuid", nullable = false, length = 23)
private String auctionUuid;
@Column(name = "member_uuid", nullable = false, length = 36)
Expand All @@ -50,14 +52,15 @@ public class Payment extends BaseTimeEntity {
private LocalDateTime completionAt;

@Builder
public Payment(Long id, String paymentUuid, String auctionUuid, String memberUuid,
public Payment(Long id, String paymentUuid, String impUid, String auctionUuid, String memberUuid,
String paymentMethod, String paymentNumber,
PaymentStatus paymentStatus,
BigDecimal price,
BigDecimal amountPaid,
LocalDateTime completionAt) {
this.id = id;
this.paymentUuid = paymentUuid;
this.impUid = impUid;
this.auctionUuid = auctionUuid;
this.memberUuid = memberUuid;
this.paymentMethod = paymentMethod;
Expand Down