Class FileDto
An uploaded file attached to a submission (metadata only; no storage path leaks).
public sealed class FileDto
- Inheritance
-
FileDto
- Inherited Members
Properties
ContentType
MIME content type of the file.
public string? ContentType { get; set; }
Property Value
FieldKey
The form field this file was uploaded against.
public string? FieldKey { get; set; }
Property Value
FileId
Unique file id.
public int FileId { get; set; }
Property Value
FileName
Original (user-facing) file name.
public string? FileName { get; set; }
Property Value
SizeBytes
File size in bytes.
public long SizeBytes { get; set; }
Property Value
SubmissionId
Id of the submission this file belongs to.
public int SubmissionId { get; set; }
Property Value
UploadedOnUtc
UTC timestamp when the file was uploaded.
public DateTime UploadedOnUtc { get; set; }