Skip to content

Commit

Permalink
refactor: dto에 validation 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
eom-tae-in committed Jul 6, 2024
1 parent 9f21e41 commit 0741feb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
package com.atwoz.admin.application.auth.dto;

import jakarta.validation.constraints.NotBlank;

public record AdminProfileSignUpRequest(
@NotBlank(message = "이름을 입력해주세요.")
String name,

@NotBlank(message = "전화번호를 입력해주세요.")
String phoneNumber
) {
}

0 comments on commit 0741feb

Please sign in to comment.