@@ -21,4 +21,7 @@ public class FosterRecordAddDTO {
@NotNull(message = "果园id不能为空")
private Integer gardenId;
+ @NotNull(message = "treeId不能为空")
+ private Integer treeId;
+
}