ProjectLib/ProjectLibrary/Entites/Book_Orders.cs

24 lines
519 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
{
2024-11-19 14:49:58 +04:00
public class Book_Orders
2024-11-12 23:13:20 +04:00
{
public int BookID { get; private set; }
public int OrderID { get; private set; }
public static Book_Orders CreateEntity(int orderID,int bookID )
2024-11-12 23:13:20 +04:00
{
2024-11-19 14:49:58 +04:00
return new Book_Orders
2024-11-12 23:13:20 +04:00
{
BookID = bookID,
OrderID = orderID
};
}
}
}