namespace DigitalData.Core.Tests.Mock;

public class UserBase
{
    public required string FirstName { get; set; }

    public required string Email { get; set; }

    public required int Age { get; set; }

    public override int GetHashCode() => HashCode.Combine(FirstName, Email, Age);

    public override bool Equals(object? obj) => obj is UserBase user && user.GetHashCode() == GetHashCode();
}
