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.
15 lines
365 B
15 lines
365 B
package com.mydreamjob.onboarding.dto;
|
|
|
|
import jakarta.validation.constraints.Min;
|
|
import jakarta.validation.constraints.NotNull;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class ProgressUpdateRequest {
|
|
|
|
@NotNull(message = "completed is required")
|
|
private Boolean completed;
|
|
|
|
@Min(value = 0, message = "version must not be negative")
|
|
private Long version;
|
|
}
|
|
|