Eero Holmala eb6b104f04 Started DataAccess
- Add placeholder User entity
- Add DataAccess class with interface and add it as a service
  to the app.
- Change background color of app as a test
2024-03-12 16:00:19 +02:00

14 lines
379 B
C#

namespace WretchedMachines.DataAccess.Entities;
public class User : IEquatable<User>
{
public required string Name { get; set; }
public int Id { get; set; }
public bool Equals(User? other)
{
if(Object.ReferenceEquals(other, null)) return false;
if(Object.ReferenceEquals(this, other)) return true;
return Name.Equals(other.Name);
}
}