feat(项目管理产品需求重构): 完善产品中的需求规格功能开发
限制评审人和评审意见长度 Signed-off-by: OTTO <731554297@qq.com>
This commit is contained in:
parent
96c5a2b687
commit
c67da2401c
|
@ -8,6 +8,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
|
@ -34,10 +35,12 @@ public class ProductReqReviewVo {
|
|||
|
||||
@ApiModelProperty(value = "评审人", required = true)
|
||||
@NotNull
|
||||
@Size(max = 100, message = "长度需要小于100")
|
||||
private String reviewUser;
|
||||
|
||||
@ApiModelProperty(value = "评审意见", required = true)
|
||||
@NotNull
|
||||
@Size(max = 1000, message = "长度需要小于1000")
|
||||
private String reviewContent;
|
||||
|
||||
public PmsProductReqOperationRecord toUserReqRecord(String operator) {
|
||||
|
|
Loading…
Reference in New Issue