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.

RestaurantCategory.cs 398B

1234567891011121314
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace ProRestaurant.Models.Restaurants
  4. {
  5. public class RestaurantCategory
  6. {
  7. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  8. [Key]
  9. public int Id { get; set; }
  10. public string Description { get; set; }
  11. public string Image { get; set; }
  12. }
  13. }