-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFood.cs
39 lines (35 loc) · 1.6 KB
/
Food.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace HungerHunt
{
using System;
using System.Collections.Generic;
public partial class Food
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Food()
{
this.CartItems = new HashSet<CartItem>();
this.OrderItems = new HashSet<OrderItem>();
}
public long FoodId { get; set; }
public string FoodName { get; set; }
public long FoodQty { get; set; }
public long FoodUnitPrice { get; set; }
public string FoodCategory { get; set; }
public string FoodType { get; set; }
public string FoodPhotoUrl { get; set; }
public long FoodMenuId { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CartItem> CartItems { get; set; }
public virtual Menu Menu { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<OrderItem> OrderItems { get; set; }
}
}