22 lines
675 B
C#
22 lines
675 B
C#
namespace ProjectLibrary.Entites
|
|
{
|
|
public class TicketExtensions
|
|
{
|
|
public int Id { get; private set; }
|
|
public int ReaderID { get; private set; }
|
|
public DateTime LastUpdateDate { get; private set; }
|
|
public DateTime NextUpdateDate { get; private set; }
|
|
|
|
public static TicketExtensions CreateEntity(int id, int readerID, DateTime lastUpdateDate, DateTime nextUpdateDate)
|
|
{
|
|
return new TicketExtensions
|
|
{
|
|
Id = id,
|
|
ReaderID = readerID,
|
|
LastUpdateDate = lastUpdateDate,
|
|
NextUpdateDate = nextUpdateDate
|
|
};
|
|
}
|
|
}
|
|
}
|