chore: update

This commit is contained in:
TakahashiNg
2026-05-13 03:23:51 +00:00
parent 87b20603e2
commit 31475ff466
5 changed files with 10 additions and 0 deletions
@@ -25,5 +25,7 @@ public class AddMenuItem implements MenuItemInterface {
private Boolean available;
private String description;
private String imageUrl;
}
@@ -28,5 +28,7 @@ public class UpdateMenuItem implements EntityInterface, MenuItemInterface {
Boolean available;
String description;
String imageUrl;
}
@@ -27,6 +27,9 @@ public class MenuItemEntity extends BaseEntity implements MenuItemInterface {
@JoinColumn(name = "eatery_id")
public EateryEntity eatery;
@Column(columnDefinition = "string defalt ''")
public String description;
@Column(nullable = true)
public String imageUrl;
@@ -89,6 +89,7 @@ public class EateryServiceTest {
faker.food().dish(),
faker.number().randomDouble(2, 10, 100),
true,
"",
""
)
).id;
@@ -9,4 +9,6 @@ public interface MenuItemInterface {
void setAvailable(Boolean x);
String getImageUrl();
void setImageUrl(String x);
String getDescription();
void setDescription(String x);
}