presence_new/data/Entity/User.cs

21 lines
535 B
C#
Raw Permalink Normal View History

2024-11-16 12:02:17 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace presence.data.LocalData.Entity
{
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);
}
}
}