using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MyPortal.Database.Models.Entity
{
    [Table("CommunicationLogs")]
    public class CommunicationLog : BaseTypes.Entity
    {
        [Column(Order = 2)] public Guid ContactId { get; set; }

        [Column(Order = 3)] public Guid CommunicationTypeId { get; set; }

        [Column(Order = 4)] public DateTime Date { get; set; }

        [Column(Order = 5)] public string Notes { get; set; }

        [Column(Order = 6)] public bool Outgoing { get; set; }

        public virtual Contact Contact { get; set; }
        public virtual CommunicationType Type { get; set; }
    }
}