ProjectLib/ProjectLibrary/Entites/Book_library.cs

20 lines
502 B
C#
Raw Normal View History

2024-11-20 19:31:06 +04:00
namespace ProjectLibrary.Entites
2024-11-12 23:13:20 +04:00
{
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-20 19:31:06 +04:00
public static Book_Library CreateEntity(int libraryID, int bookID, 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
};
}
}
}