ProjectLib/ProjectLibrary/Entites/Ticket_Extension.cs

27 lines
768 B
C#
Raw Normal View History

2024-11-12 23:13:20 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectLibrary.Entites
{
public class TicketExtensions
{
public int ReaderID { get; private set; }
public int ExtensionID { 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
};
}
}
}