Package com.dzidzi.dto.restaurant
Class AddBranchRequest.Builder
java.lang.Object
com.dzidzi.dto.restaurant.AddBranchRequest.Builder
- Enclosing class:
AddBranchRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddress(AddAddressRequest address) The address of the branch restaurant.avatar(org.springframework.web.multipart.MultipartFile avatar) The profile image of the branch restaurantbackgroundImage(org.springframework.web.multipart.MultipartFile backgroundImage) The background image of the branch restaurantThe branch restaurants biobranchName(String branchName) The name of the branch restaurantbuild()The contact of the branch restaurantThe second contact of the branch restaurant if neededThe email of the branch.The password to use.toString()The username of the branch.
-
Method Details
-
email
The email of the branch.- Returns:
this.
-
username
The username of the branch. Used for login.- Returns:
this.
-
password
The password to use. Password should contain lowercase, uppercase, number, special character and at least 12 characters.- Returns:
this.
-
branchName
The name of the branch restaurant- Returns:
this.
-
contact
The contact of the branch restaurant- Returns:
this.
-
contact1
The second contact of the branch restaurant if needed- Returns:
this.
-
bio
The branch restaurants bio- Returns:
this.
-
address
The address of the branch restaurant.AddAddressRequest- Returns:
this.
-
avatar
The profile image of the branch restaurant- Returns:
this.
-
backgroundImage
public AddBranchRequest.Builder backgroundImage(org.springframework.web.multipart.MultipartFile backgroundImage) The background image of the branch restaurant- Returns:
this.
-
build
-
toString
-