From 33428779d5b38853d223b7bb9772806082c1b84d Mon Sep 17 00:00:00 2001 From: Amagasu Date: Mon, 9 Jun 2025 11:21:34 +0900 Subject: [PATCH] recipestuff default change --- .../src/main/java/com/example/todoapp/model/RecipeStuffs.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/com/example/todoapp/model/RecipeStuffs.java b/backend/src/main/java/com/example/todoapp/model/RecipeStuffs.java index 0855330..5c3a933 100644 --- a/backend/src/main/java/com/example/todoapp/model/RecipeStuffs.java +++ b/backend/src/main/java/com/example/todoapp/model/RecipeStuffs.java @@ -66,10 +66,10 @@ public class RecipeStuffs { private Stuffs stuff; /** - * 材料の数量 + * 材料の数量(デフォルト1) */ @NotBlank @Column(nullable = false) - private int amount; + private int amount = 1; }