refactor(BaseDto): update to compile only in net

This commit is contained in:
Developer 02 2025-09-30 16:57:05 +02:00
parent 0dd4930f1b
commit dfa3cd1a58

View File

@ -1,4 +1,5 @@
namespace DigitalData.Core.Abstraction.Application.DTO;
#if NET
namespace DigitalData.Core.Abstraction.Application.DTO;
/// <summary>
/// Represents a base Data Transfer Object (DTO) with an identifier.
@ -15,3 +16,4 @@ public record BaseDTO<TId>(TId Id) where TId : notnull
/// <returns>A hash code for the current object, derived from the identifier.</returns>
public override int GetHashCode() => Id.GetHashCode();
}
#endif