using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using System.ComponentModel.DataAnnotations.Schema; namespace HealthchoiceMVC.Models { public class PersonRelationship { [Key] public int PersonPersonTypeId { get; set; } [Required] [Display(Name = "Person")] public int PersonId { get; set; } [Required] [Display(Name = "Person Type")] public int RelatedPersonId { get; set; } } }