presence/Demo/Data/LocalData/Entity/User.cs

26 lines
532 B
C#
Raw Normal View History

2024-10-21 12:41:56 +00:00
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 int ID { get; set; }
public required int GroupID { get; set; }
public bool Equals(UserLocalEnity? other)
{
if (other == null) return false;
2024-10-28 12:03:51 +00:00
return this.ID.Equals(other.ID);
2024-10-21 12:41:56 +00:00
}
}
}