From c5787c87368c2de89c8a27c163bf21c2faab0ff4 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 12 Aug 2025 16:50:28 +0200 Subject: [PATCH] =?UTF-8?q?feat(domain):=20neue=20Entit=C3=A4t=20'OrderDoc?= =?UTF-8?q?ument'=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/OrderDocument.cs | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/Leanetec.EConnect.Domain/Entities/OrderDocument.cs diff --git a/src/Leanetec.EConnect.Domain/Entities/OrderDocument.cs b/src/Leanetec.EConnect.Domain/Entities/OrderDocument.cs new file mode 100644 index 0000000..669ab6f --- /dev/null +++ b/src/Leanetec.EConnect.Domain/Entities/OrderDocument.cs @@ -0,0 +1,39 @@ +namespace Leanetec.EConnect.Domain.Entities; + +public class OrderDocument +{ + /// + /// The unique internal id of the file + /// + public int Id { get; init; } + + /// + /// The name of the file + /// + public string? FileName { get; init; } + + /// + /// The size of the file in bytes + /// + public int FileSizeInBytes { get; init; } + + /// + /// The internal unique id of the folder containing this file + /// + public int ParentFolderId { get; init; } + + /// + /// The string representation of the timstamp when this file has been created (uploaded) + /// + public DateTime? CreatedOn { get; init; } + + /// + /// The string representation of the timstamp when this file has been updated + /// + public DateTime? LastUpdateOn { get; init; } + + /// + /// The MIME type of the file + /// + public string? FileMimeType { get; init; } +}