hopefully not a horribly foolish refactoring

This commit is contained in:
john 2025-05-11 23:26:09 +02:00
parent 59d660165f
commit 1ecaf64dea
82 changed files with 782 additions and 398 deletions

View file

@ -4,14 +4,20 @@ internal class PostMedia
{
public Guid Id { get; private set; }
public Uri Url { get; private set; }
public string? Type { get; private set; }
public int Ordering { get; private set; }
public int? Width { get; private set; }
public int? Height { get; private set; }
private PostMedia() {}
public PostMedia(Guid id, Uri url, int ordering)
public PostMedia(Guid id, Uri url, string type, int ordering, int? width, int? height)
{
this.Id = id;
this.Url = url;
this.Type = type;
this.Ordering = ordering;
this.Width = width;
this.Height = height;
}
}