24 lines
516 B
C#
24 lines
516 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectLibrary.Entites
|
|||
|
{
|
|||
|
public class BookOrders
|
|||
|
{
|
|||
|
public int BookID { get; private set; }
|
|||
|
public int OrderID { get; private set; }
|
|||
|
|
|||
|
public static BookOrders CreateEntity(int bookID, int orderID)
|
|||
|
{
|
|||
|
return new BookOrders
|
|||
|
{
|
|||
|
BookID = bookID,
|
|||
|
OrderID = orderID
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|