1.12.0-server #6

Merged
defnotken merged 16 commits from 1.12.0-server into main 2025-10-04 18:48:17 +00:00
Showing only changes of commit 43be25cc45 - Show all commits

View File

@@ -3,17 +3,11 @@
namespace LightlessSync.API.Data;
[MessagePackObject(keyAsPropertyName: true)]
public record GroupData(string GID, string? Alias = null, DateTime? CreatedAt = null, string? Description = null, string? Tags = null, string? Avatar = null)
public record GroupData(string GID, string? Alias = null, DateTime? CreatedAt = null)
{
[IgnoreMember]
public string AliasOrGID => string.IsNullOrWhiteSpace(Alias) ? GID : Alias;
[IgnoreMember]
public DateTime? CreatedAt { get; set; } = CreatedAt;
[IgnoreMember]
public string? Description { get; set; } = Description;
[IgnoreMember]
public string? Tags { get; set; } = Tags;
[IgnoreMember]
public string? Avatar { get; set; } = Avatar;
}