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 ContactType { [Key] public int ContactTypeId { get; set; } [Required] [Display(Name = "Contact Type")] [MaxLength(50)] public string Description { get; set; } [Required] [Display(Name = "Contact Type Validation")] [MaxLength(10)] public string Validator { get; set; } public virtual ICollection PersonContacts { get; set; } } }