CourseWork_Bank/Bank/BankDataBaseImplement/Models/MealPlanMember.cs

19 lines
406 B
C#

using System.ComponentModel.DataAnnotations;
namespace BankDataBaseImplement.Models
{
public class MealPlanMember
{
public int Id { get; set; }
[Required]
public int MemberId { get; set; }
[Required]
public int MealPlanId { get; set; }
public virtual MealPlan MealPlan { get; set; }
public virtual Member Member { get; set; }
}
}