xxxproject/Demo/Data/Entity/User.cs

25 lines
525 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2024-10-30 09:11:19 +00:00
namespace Demo.Data.Entity
{
2024-10-16 07:01:04 +00:00
public class UserLocalEnity : IEquatable<UserLocalEnity>
{
public required string FIO { get; set; }
public Guid Guid { get; set; }
public required int GroupID { get; set; }
2024-10-16 07:01:04 +00:00
2024-10-30 09:11:19 +00:00
2024-10-16 07:01:04 +00:00
public bool Equals(UserLocalEnity? other)
{
if (other == null) return false;
2024-10-30 09:11:19 +00:00
return Guid.Equals(other.Guid);
2024-10-16 07:01:04 +00:00
}
}
}