Skip to content

Commit

Permalink
[Feat] 회원 정보 수정 유효성 검사 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed Nov 16, 2024
1 parent 2fe3705 commit 92c38c3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package kr.inuappcenterportal.inuportal.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -14,6 +16,8 @@ public class MemberUpdateNicknameDto {
private String nickname;

@Schema(description = "횃불이 번호")
@Min(1)
@Max(12)
private Long fireId;

@Builder
Expand Down

0 comments on commit 92c38c3

Please sign in to comment.