refactor(BaseDto): update to compile only in net
This commit is contained in:
parent
0dd4930f1b
commit
dfa3cd1a58
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user