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.

12345678910111213141516
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. namespace ProRestaurant.Models.Restaurants
  3. {
  4. public class MenuItem : BaseObject
  5. {
  6. [ForeignKey("Restaurant")]
  7. public int RestaurantId { get; set; }
  8. public int CategoryId { get; set; }
  9. public string Image { get; set; }
  10. public string Description { get; set; }
  11. public decimal Price { get; set; }
  12. public virtual Restaurant Restaurant { get; set; }
  13. }
  14. }