20 lines
640 B
Java
20 lines
640 B
Java
package com.designhub.dto;
|
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
|
public class TaskAuditRequest {
|
|
|
|
@NotNull(message = "任务ID不能为空")
|
|
private Long taskId;
|
|
@NotNull(message = "审核结果不能为空")
|
|
private String result;
|
|
private String comment;
|
|
|
|
public Long getTaskId() { return taskId; }
|
|
public void setTaskId(Long taskId) { this.taskId = taskId; }
|
|
public String getResult() { return result; }
|
|
public void setResult(String result) { this.result = result; }
|
|
public String getComment() { return comment; }
|
|
public void setComment(String comment) { this.comment = comment; }
|
|
}
|