2024-11-11 09:07:11 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace domain.Models
|
|
|
|
|
{
|
|
|
|
|
public class UserLocalEnity : IEquatable<UserLocalEnity>
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public required string FIO { get; set; }
|
|
|
|
|
public Guid Guid { get; set; }
|
|
|
|
|
|
|
|
|
|
public required int GroupID { get; set; }
|
2024-11-18 12:42:33 +00:00
|
|
|
|
public GroupLocalEntity Group { get; set; }
|
2024-11-11 09:07:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool Equals(UserLocalEnity? other)
|
|
|
|
|
{
|
|
|
|
|
if (other == null) return false;
|
|
|
|
|
return this.Guid.Equals(other.Guid);
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-11-18 12:42:33 +00:00
|
|
|
|
}
|