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_Library
|
2024-11-12 23:13:20 +04:00
|
|
|
|
{
|
|
|
|
|
public int BookID { get; private set; }
|
|
|
|
|
public int LibraryID { get; private set; }
|
|
|
|
|
public int Count { get; private set; }
|
|
|
|
|
|
2024-11-19 14:49:58 +04:00
|
|
|
|
public static Book_Library CreateEntity(int bookID, int libraryID, int count)
|
2024-11-12 23:13:20 +04:00
|
|
|
|
{
|
2024-11-19 14:49:58 +04:00
|
|
|
|
return new Book_Library
|
2024-11-12 23:13:20 +04:00
|
|
|
|
{
|
|
|
|
|
BookID = bookID,
|
|
|
|
|
LibraryID = libraryID,
|
|
|
|
|
Count = count
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|