43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HRM.BO.Assets
|
|
{
|
|
public class AssetSerialTranAttachment : AuditTrailBase
|
|
{
|
|
#region Constructor
|
|
|
|
public AssetSerialTranAttachment() { }
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
public int AssetSerialTranAttachmentID { get; set; }
|
|
public int AssetID { get; set; }
|
|
public int AssetSerialID { get; set; }
|
|
public int AssetSerailTranID { get; set; }
|
|
public string FileName { get; set; }
|
|
public string FilePath { get; set; }
|
|
public byte[] FileAsByteArray { get; set; }
|
|
public string FileTobase64
|
|
{
|
|
get
|
|
{
|
|
return Convert.ToBase64String(FileAsByteArray);
|
|
}
|
|
}
|
|
public string PreviousFileTobase64
|
|
{
|
|
get; set;
|
|
}
|
|
public string Extension { get; set; }
|
|
|
|
public string ConnectionString { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|