Files
ZelWiki/TightWiki.Models/DataModels/PageFileAttachment.cs
2025-01-22 23:31:03 +08:00

21 lines
777 B
C#

using NTDLS.Helpers;
namespace TightWiki.Models.DataModels
{
public partial class PageFileAttachment
{
public int PaginationPageSize { get; set; }
public int PaginationPageCount { get; set; }
public int Id { get; set; }
public int PageId { get; set; }
public string Name { get; set; } = string.Empty;
public string ContentType { get; set; } = string.Empty;
public long Size { get; set; }
public DateTime CreatedDate { get; set; }
public byte[] Data { get; set; } = Array.Empty<byte>();
public string FileNavigation { get; set; } = string.Empty;
public string PageNavigation { get; set; } = string.Empty;
public string FriendlySize => Formatters.FileSize(Size);
}
}