You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Restaurant.cs 757B

12345678910111213141516171819
  1. using Microsoft.AspNetCore.SignalR;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace ProRestaurant.Models.Restaurants
  6. {
  7. public class Restaurant : BaseObject
  8. {
  9. public string Name { get; set; }
  10. public string Location { get; set; } //Set with google's autocomplete(suburb)
  11. public string Logo { get; set; }
  12. public bool Chain { get; set; } //if no, do not display the location on card
  13. public decimal DeliveryFee { get; set; }
  14. public decimal DeliveryRadius { get; set; }
  15. public string MethodsOfPayment { get; set; } //Comma separated list - can be displayed as a drop down.
  16. public ICollection<TradingHours> TradingHours { get; set; }
  17. }
  18. }