Class PostImageUploadRequestDto
Request DTO for uploading a new GastroSky.Models.DTO.PostImage.
public sealed class PostImageUploadRequestDto
- Inheritance
-
PostImageUploadRequestDto
- Inherited Members
Properties
File
The image file.
[Required]
public IFormFile File { get; set; }
Property Value
FileName
File name.
[Required]
public string FileName { get; set; }
Property Value
FileSizeBytes
File size in bytes.
[Required]
public long FileSizeBytes { get; set; }
Property Value
Notes
Optional notes that only the author can see.
public string? Notes { get; set; }
Property Value
PostSlug
Post.Slug of the GastroSky.Models.DTO.Post with which to associate this image.
[Required]
public string PostSlug { get; set; }
Property Value
SHA256
SHA-256 checksum of the file's bytes.
[Required]
public string SHA256 { get; set; }