finnow/finnow-api/source/attachment/model.d

13 lines
250 B
D
Raw Permalink Normal View History

module attachment.model;
2024-07-24 20:32:08 +00:00
import std.datetime;
2024-07-24 20:32:08 +00:00
struct Attachment {
immutable ulong id;
immutable SysTime uploadedAt;
immutable string filename;
immutable string contentType;
immutable ulong size;
immutable ubyte[] content;
}