Added MessagePackObject in dto.

This commit is contained in:
cake
2025-12-06 20:16:03 +01:00
parent 8ea337ab2d
commit efb5a8072b

View File

@@ -1,6 +1,7 @@
using LightlessSync.API.Data;
using MessagePack;
namespace LightlessSync.API.Dto.Group
{
public record GroupPruneSettingsDto(GroupData Group, bool AutoPruneEnabled, int AutoPruneDays);
}
namespace LightlessSync.API.Dto.Group;
[MessagePackObject(keyAsPropertyName: true)]
public record GroupPruneSettingsDto(GroupData Group, bool AutoPruneEnabled, int AutoPruneDays);