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; } +}