Skip to content

Commit

Permalink
fix: modify annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 committed Nov 25, 2024
1 parent 8910994 commit 5336afc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/gymmi/workspace/request/VoteRequest.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package gymmi.workspace.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
public class VoteRequest {

@NotBlank
@NotNull
private Boolean willApprove;

public VoteRequest(Boolean willApprove) {
Expand Down

0 comments on commit 5336afc

Please sign in to comment.