using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRM.BO { public class TaxAttachment : AuditTrailBase { public TaxAttachment() {} public int ReferenceID { get; set; } public int EmployeeID { get; set; } public int InvestmentID { get; set; } public string OriginalFileName { get; set; } public EnumTaxAttachment FileType { get; set; } public string File { get; set; } public object FileData { get; set; } public string FilePath { get; set; } public byte[] FileAsByteArray { get; set; } public string FileTobase64 { get { if(FileAsByteArray != null) return Convert.ToBase64String(FileAsByteArray); else return null; } } public string PreviousFileTobase64 { get; set; } public string Extension { get; set; } public string ConnectionString { get; set; } } public interface ITaxAttachmentService { } }