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.

MenuCategory.cs 442B

123456789101112131415
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace ProRestaurant.Models.Restaurants
  4. {
  5. public class MenuCategory : BaseObject
  6. {
  7. [ForeignKey("Restaurant")]
  8. public int RestaurantId { get; set; }
  9. public string Description { get; set; }
  10. public virtual Restaurant Restaurant { get; set; }
  11. public ICollection<MenuOption> Options { get; set; }
  12. }
  13. }