feat(domain): neue Entität 'OrderDocument' hinzugefügt

This commit is contained in:
Developer 02 2025-08-12 16:50:28 +02:00
parent 10e751b9a1
commit c5787c8736

View File

@ -0,0 +1,39 @@
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; }
}