45 lines
936 B
C#
45 lines
936 B
C#
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
|
|
}
|
|
}
|