27 lines
575 B
C#
27 lines
575 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Demo.domain.Models
|
|||
|
{
|
|||
|
public class UserLocalEnity : IEquatable<UserLocalEnity>
|
|||
|
{
|
|||
|
|
|||
|
public required string FIO { get; set; }
|
|||
|
public Guid Guid { get; set; }
|
|||
|
public int ID { get; set; }
|
|||
|
|
|||
|
public required int GroupID { get; set; }
|
|||
|
|
|||
|
|
|||
|
|
|||
|
public bool Equals(UserLocalEnity? other)
|
|||
|
{
|
|||
|
if (other == null) return false;
|
|||
|
return this.Guid.Equals(other.Guid);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|