Class RestaurantEntityApi

java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.restaurant.RestaurantEntityApi
Direct Known Subclasses:
Restaurant

public class RestaurantEntityApi extends EntityId
  • Constructor Details

    • RestaurantEntityApi

      public RestaurantEntityApi(UUID id, String name, String bio, String contact, float averageRating)
  • Method Details

    • getName

      public String getName()
      The name of the restaurant
    • getBio

      public String getBio()
      The bio of the restaurant
    • getContact

      public String getContact()
      The contact of the restaurant
    • getAverageRating

      public float getAverageRating()
      The average rating of the restaurant