26 lines
753 B
C#
26 lines
753 B
C#
using Marco.Pms.Model.Utilities;
|
|
|
|
namespace Marco.Pms.Model.DocumentManager
|
|
{
|
|
public class Document : TenantRelation
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid? BatchId { get; set; }
|
|
public string FileName { get; set; } = string.Empty;
|
|
/// <summary>
|
|
/// Full S3 object key
|
|
/// </summary>
|
|
public string S3Key { get; set; } = string.Empty;
|
|
/// <summary>
|
|
/// S3 key for thumbnail image
|
|
/// </summary>
|
|
public string? ThumbS3Key { get; set; }
|
|
|
|
public string? Base64Data { get; set; }
|
|
|
|
public long FileSize { get; set; }
|
|
public string ContentType { get; set; } = string.Empty;
|
|
public DateTime UploadedAt { get; set; }
|
|
}
|
|
}
|