ProjectLib/ProjectLibrary/Entites/Book_library.cs

28 lines
621 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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 bookID, int libraryID, int count)
{
return new Book_Library
{
BookID = bookID,
LibraryID = libraryID,
Count = count
};
}
}
}