Package com.dzidzi.dto.extra
Class ChangeExtraRequest.Builder
java.lang.Object
com.dzidzi.dto.extra.ChangeExtraRequest.Builder
- Enclosing class:
ChangeExtraRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The id of the extraimage(org.springframework.web.multipart.MultipartFile image) The new image of the extraThe new name of the extraprice(BigDecimal price) The new price of the extrarestaurantBranchIds(Set<UUID> restaurantBranchIds) The restaurant branch ids to make bulk additiontoString()
-
Method Details
-
id
The id of the extra- Returns:
this.
-
name
The new name of the extra- Returns:
this.
-
price
The new price of the extra- Returns:
this.
-
restaurantBranchIds
The restaurant branch ids to make bulk addition- Returns:
this.
-
image
The new image of the extra- Returns:
this.
-
build
-
toString
-