using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using MyPortal.Database.BaseTypes;

namespace MyPortal.Database.Models.Entity
{
    [Table("CommunicationTypes")]
    public class CommunicationType : LookupItem
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage",
            "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public CommunicationType()
        {
            CommunicationLogs = new HashSet<CommunicationLog>();
        }


        public virtual ICollection<CommunicationLog> CommunicationLogs { get; set; }
    }
}