Package com.dzidzi.dto.restaurant
Class AddRestaurantRequest.Builder
java.lang.Object
com.dzidzi.dto.restaurant.AddRestaurantRequest.Builder
- Enclosing class:
AddRestaurantRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddress(AddAddressRequest address) The address of the restaurant.avatar(org.springframework.web.multipart.MultipartFile avatar) The profile image of the restaurantbackgroundImage(org.springframework.web.multipart.MultipartFile backgroundImage) The background image of the restaurantThe restaurants biobuild()The contact of the restaurantThe second contact of the restaurant if neededThe name of the restaurantnewPassword(String newPassword) The new password to use.repeatPass(String repeatPass) The same password typed in newPasstoString()The new username to use for your account
-
Method Details
-
address
The address of the restaurant.AddAddressRequest- Returns:
this.
-
name
The name of the restaurant- Returns:
this.
-
contact
The contact of the restaurant- Returns:
this.
-
contact1
The second contact of the restaurant if needed- Returns:
this.
-
avatar
The profile image of the restaurant- Returns:
this.
-
backgroundImage
public AddRestaurantRequest.Builder backgroundImage(org.springframework.web.multipart.MultipartFile backgroundImage) The background image of the restaurant- Returns:
this.
-
bio
The restaurants bio- Returns:
this.
-
newPassword
The new password to use. Password should contain lowercase, uppercase, number, special character and at least 12 characters.- Returns:
this.
-
repeatPass
The same password typed in newPass- Returns:
this.
-
username
The new username to use for your account- Returns:
this.
-
build
-
toString
-