Skip to content

Commit

Permalink
πŸš€ :: 1.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyoil2 committed Nov 13, 2024
2 parents 01d544a + 1f6b582 commit cf5e7dc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import team.retum.jobis.domain.acceptance.spi.vo.AcceptanceVO;
import team.retum.jobis.domain.application.spi.vo.FieldTraineesVO;
import team.retum.jobis.domain.student.model.SchoolNumber;
Expand All @@ -12,6 +13,7 @@

@Getter
@AllArgsConstructor
@NoArgsConstructor(force = true)
public class TeacherQueryFieldTraineesAndContractWorkersResponse {

private final List<TeacherQueryFieldTraineesResponse> fieldTraineesResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public enum ApplicationStatus {
ACCEPTANCE("κ·Όλ‘œκ³„μ•½"),
REJECTED("반렀");

public static final List<ApplicationStatus> DUPLICATE_CHECK = List.of(APPROVED, PASS, FIELD_TRAIN);
public static final List<ApplicationStatus> DUPLICATE_CHECK = List.of(REQUESTED, SEND, PROCESSING, ACCEPTANCE, APPROVED, PASS, FIELD_TRAIN);
private final String name;
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public QueryPassedApplicationStudentsResponse queryFieldTrainApplication(
@PutMapping("/{application-id}")
public void reapply(
@PathVariable("application-id") Long applicationId,
@RequestBody CreateApplicationWebRequest request
@RequestBody @Valid CreateApplicationWebRequest request
) {
reapplyUseCase.execute(
applicationId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
public class CreateApplicationWebRequest {

@ValidListElements
@NotNull
private List<AttachmentWebRequest> attachments;

@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;
import team.retum.jobis.domain.file.model.FileType;
import team.retum.jobis.global.util.RegexProperty;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class RegexProperty {

public static final String WORKING_HOURS = "^([01][0-9]|2[0-3]):([0-5][0-9]) ~ ([01][0-9]|2[0-3]):([0-5][0-9])$";

public static final String FILE_NAME = "^[a-zA-Z0-9κ°€-힣\\s_-]+\\.[a-zA-Z0-9]+$";
public static final String FILE_NAME = "^.+\\..+$";

public static final String EMAIL = "^[a-zA-Z0-9+-\\_.]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$";
}

0 comments on commit cf5e7dc

Please sign in to comment.