You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
418 B
13 lines
418 B
package com.mydreamjob.application.dto;
|
|
|
|
import jakarta.validation.constraints.NotBlank;
|
|
import jakarta.validation.constraints.Pattern;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class ApplicationStatusRequest {
|
|
@NotBlank(message = "status is required")
|
|
@Pattern(regexp = "^(VIEWED|INTERVIEW|REJECTED|HIRED)$",
|
|
message = "status must be VIEWED, INTERVIEW, REJECTED, or HIRED")
|
|
private String status;
|
|
}
|
|
|