您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }