Files
ZelWiki/ZelWiki.Models/DataModels/PageFileAttachment.cs
2025-02-20 15:20:28 +08:00

21 lines
775 B
C#

using NTDLS.Helpers;
namespace ZelWiki.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);
}
}