Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
[Feat] PR 코드 리팩토링
Browse files Browse the repository at this point in the history
motivation:
- PR(#153)에서 받은 comment 를 통해 몇몇 코드를 변경하였습니다.

modification:
- `VotingApiRequest.java` `@Positive` 추가
  • Loading branch information
Nine-JH authored and Dr-KoKo committed Jan 24, 2024
1 parent 26c71ca commit c00bdbf
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package fc.be.app.domain.vote.controller.dto.request;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;

public record VotingApiRequest(
@NotNull Long voteId,
@NotNull Long candidateId
@Positive @NotNull Long voteId,
@Positive @NotNull Long candidateId
) {
}

0 comments on commit c00bdbf

Please sign in to comment.