💄 Better sticker marketplace listing

This commit is contained in:
2025-08-20 14:00:15 +08:00
parent 3b679d6134
commit e8d8dcbb2d
2 changed files with 32 additions and 17 deletions

View File

@@ -32,7 +32,8 @@ public class StickerPack : ModelBase
[MaxLength(4096)] public string Description { get; set; } = string.Empty;
[MaxLength(128)] public string Prefix { get; set; } = null!;
public List<Sticker> Stickers { get; set; } = new();
public List<Sticker> Stickers { get; set; } = [];
[JsonIgnore] public List<StickerPackOwnership> Ownerships { get; set; } = [];
public Guid PublisherId { get; set; }
public Publisher.Publisher Publisher { get; set; } = null!;