增加字段必填校验

This commit is contained in:
shuo.wang
2025-04-13 14:08:28 +08:00
parent d2202fbc5c
commit e123987f3e
3 changed files with 17 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ public class AddPointDetailRequest {
private String landlordUsername;
@ApiModelProperty("房东电话")
@NotBlank(message = "房东电话不能为空")
private String landlordMobile;
@Min(1)