ProjectLib/ProjectLibrary/Entites/Ticket_Extension.cs

20 lines
598 B
C#
Raw Normal View History

2024-11-20 19:31:06 +04:00
namespace ProjectLibrary.Entites
2024-11-12 23:13:20 +04:00
{
public class TicketExtensions
{
public int ReaderID { get; private set; }
public DateTime LastUpdateDate { get; private set; }
public DateTime NextUpdateDate { get; private set; }
public static TicketExtensions CreateEntity(int readerID, DateTime lastUpdateDate, DateTime nextUpdateDate)
2024-11-12 23:13:20 +04:00
{
return new TicketExtensions
{
ReaderID = readerID,
LastUpdateDate = lastUpdateDate,
NextUpdateDate = nextUpdateDate
};
}
}
}