Skip to content

Commit

Permalink
[JT-34] style: 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
hongdosan committed Sep 4, 2023
1 parent d0a50a5 commit 5a792f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@RequiredArgsConstructor
@RequestMapping("/api/v1/payments")
public class PaymentInfoController {

private final PaymentInfoService paymentInfoService;

@PostMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class PaymentInfo {
@Column(name = "imp_uid", length = 100, nullable = false, unique = true, updatable = false)
private String impUid; // 포트원 결제 고유번호

@Column(name = "pay_method", length = 100, nullable = false, unique = true, updatable = false)
@Column(name = "merchant_uid", length = 100, nullable = false, unique = true, updatable = false)
private String merchantUid; // 가맹점 주문번호

@Column(name = "pg", length = 20, nullable = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;

Expand All @@ -20,7 +19,7 @@ public record PaymentInfoDto(
@NotBlank String productName,
@Min(1) int amount,
@Pattern(regexp = EMAIL_PATTERN) String buyerEmail,
@NotEmpty @Size(max = 10) String buyerName,
@NotBlank @Size(max = 10) String buyerName,
@Pattern(regexp = PHONE_PATTERN) String buyerPhone
) {

Expand Down

0 comments on commit 5a792f9

Please sign in to comment.