ProjectLib/ProjectLibrary/Entites/Ticket_Extension.cs

28 lines
828 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, int extensionID, DateTime lastUpdateDate, DateTime nextUpdateDate)
{
return new TicketExtensions
{
ReaderID = readerID,
ExtensionID = extensionID,
LastUpdateDate = lastUpdateDate,
NextUpdateDate = nextUpdateDate
};
}
}
}