presence/data/Entity/User.cs

13 lines
399 B
C#
Raw Normal View History

2024-11-01 14:11:27 +00:00
namespace Demo.Domain.Models{
public class UserLocalEntity :IEquatable<UserLocalEntity>{
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);
}
}
}