28 lines
706 B
C#
28 lines
706 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectLibrary.Entites
|
|||
|
{
|
|||
|
public class Orders
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
public int OrderDate { get; private set; }
|
|||
|
public int ReturnDate { get; private set; }
|
|||
|
public int ReaderID { get; private set; }
|
|||
|
|
|||
|
public static Orders CreateEntity(int id, int orderDate, int returnDate, int readerID)
|
|||
|
{
|
|||
|
return new Orders
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
OrderDate = orderDate,
|
|||
|
ReturnDate = returnDate,
|
|||
|
ReaderID = readerID
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|