namespace Leanetec.EConnect.Domain.Entities;

public class OrderDocument
{
    /// <summary>
    /// The unique internal id of the file
    /// </summary>
    public int Id { get; init; }

    /// <summary>
    /// The name of the file
    /// </summary>
    public string? FileName { get; init; }

    /// <summary>
    /// The size of the file in bytes
    /// </summary>
    public int FileSizeInBytes { get; init; }

    /// <summary>
    /// The internal unique id of the folder containing this file
    /// </summary>
    public int ParentFolderId { get; init; }

    /// <summary>
    /// The string representation of the timstamp when this file has been created (uploaded)
    /// </summary>
    public DateTime? CreatedOn { get; init; }

    /// <summary>
    /// The string representation of the timstamp when this file has been updated
    /// </summary>
    public DateTime? LastUpdateOn { get; init; }

    /// <summary>
    /// The MIME type of the file
    /// </summary>
    public string? FileMimeType { get; init; }
}
