chore: update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user