using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRM.BO { public class LMSTemplate : BasicBaseObject { #region Properties public int TemplateID { get; set; } public int ObjectID { get; set; } public EnumTemplateType TemplateType { get; set; } public string FileName { get; set; } public string FileData { get; set; } public EnumFileType FileType { get; set; } public byte[] FileAsByteArray { get; set; } public string PrevFileName { get; set; } public string FileTobase64 { get { return FileAsByteArray == null ? null : Convert.ToBase64String(FileAsByteArray); } } public string PreviousFileTobase64 { get; set; } public string ConnectionString { get; set; } #endregion } }