EchoTex_Payroll/HRM.BO/Survey/QuestionAnswerAttachment.cs

45 lines
936 B
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ease.CoreV35;
using HRM.BO;
namespace Payroll.BO
{
public class QuestionAnswerAttachment : BasicBaseObject
{
#region Constructor
public QuestionAnswerAttachment()
{
}
#endregion
#region Properties
public int QuestionID { get; set; }
public int? AnswerID { get; set; }
public string OriginalFileName { get; set; }
public EnumQuestionAnswerFileType AttachmentType { get; set; }
public byte[] FileAsByteArray { get; set; }
public string FileTobase64
{
get
{
return Convert.ToBase64String(FileAsByteArray);
}
}
public string PreviousFileTobase64
{
get; set;
}
#endregion
}
}