Demo/Data/Entity/User.cs

13 lines
395 B
C#
Raw Normal View History

2024-10-17 11:46:19 +00:00
namespace Demo.Domain.Models{
2024-10-21 09:38:07 +00:00
public class UserLocalEntity :IEquatable<UserLocalEntity>{
2024-10-17 11:46:19 +00:00
public required string FIO{get; set; }
public Guid Guid {get; set; }
public required int GroupID{get; set; }
public bool Equals(UserLocalEntity? other)
{
if (other == null) return false;
return this.Guid.Equals(other.Guid);
}
}
}