ProjectLib/ProjectLibrary/Entites/Book_library.cs

20 lines
502 B
C#

namespace ProjectLibrary.Entites
{
public class Book_Library
{
public int BookID { get; private set; }
public int LibraryID { get; private set; }
public int Count { get; private set; }
public static Book_Library CreateEntity(int libraryID, int bookID, int count)
{
return new Book_Library
{
BookID = bookID,
LibraryID = libraryID,
Count = count
};
}
}
}