using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{

    public class Contact
    {
        public int ContactID { get; set; }
        [Required]
        public int ContactTypeID { get; set; }
        public virtual ContactType ContactType { get; set; }
        [Required]
        [MaxLength(128)]
        [MinLength(1)]
        [DisplayName("Contact")]
        public String Value { get; set; }
        [Required]
        public int PersonID { get; set; }
        public virtual Person Person { get; set; }
    }

}
