using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace BS.Shared.DataContracts
{
    [DataContract]
    public partial class MailDC : IDataContract
    {
        [DataMember]
        public List<FileAttachmentDC> Attachments { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string InsertedBy { get; set; }

        [DataMember]
        public DateTime InsertedOn { get; set; }

        [DataMember]
        public long? MailOid { get; set; }

        [DataMember]
        public long? MailVersion { get; set; }

        [DataMember]
        public string Message { get; set; }

        [DataMember]
        public Priority? Priority { get; set; }

        [DataMember]
        public List<MailReceiverDC> Receiver { get; set; }

        /// <summary>
        /// EmpolyOid
        /// </summary>
        [DataMember]
        public long? Sender { get; set; }

        // public EmployeeDC Sender { get; set; }
        [DataMember]
        public string SenderName { get; set; }

        [DataMember]
        public Status? Status { get; set; }

        [DataMember]
        public string Subject { get; set; }
    }
}