Skip to content

Commit

Permalink
refactor: 연구실, 교수 requestDto 우선순위 컬럼 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
minjo-on committed Nov 13, 2024
1 parent e71485f commit 9b91405
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Positive;
import jakarta.validation.constraints.Size;

public record LabRequest(
@Schema(description = "우선순위", example = "1", requiredMode = REQUIRED)
@NotNull
@Positive
Integer priority,

@Schema(description = "연구실 이름", example = "인공지능연구실", requiredMode = REQUIRED)
@NotBlank
@Size(max = 15)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Positive;

public record ProfessorRequest(
@Schema(description = "우선순위", example = "1", requiredMode = REQUIRED)
@NotNull
@Positive
Integer priority,

@Schema(description = "교수 이름", example = "이은정", requiredMode = REQUIRED)
@NotNull
String name,
Expand Down

0 comments on commit 9b91405

Please sign in to comment.