Files
Musify/backend/Core/Musify.Domain/ValueObjects/TrackPictures.cs
T
Admin 28a7c4a98c Enable more analyzers, drop log-and-rethrow in file activities and apply dotnet format
Use invariant culture when formatting ids, put cancellation tokens last in endpoint handlers, remove the
CS8618 pragmas and keep only the analyzer overrides that still apply.
2026-09-24 12:57:53 +02:00

22 lines
605 B
C#

using System.Diagnostics.CodeAnalysis;
namespace Musify.Domain.ValueObjects;
public class TrackPictures
{
public string? OriginalName { get; set; }
public string? SmallName { get; set; }
public string? MediumName { get; set; }
public string? LargeName { get; set; }
public ProcessingStatus ProcessingStatus { get; set; } = ProcessingStatus.Pending;
[MemberNotNullWhen(true, nameof(SmallName))]
[MemberNotNullWhen(true, nameof(MediumName))]
[MemberNotNullWhen(true, nameof(LargeName))]
public bool IsProcessed => ProcessingStatus == ProcessingStatus.Completed;
}