ProjectLib/ProjectLibrary/Entites/Book_library.cs

26 lines
616 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
{
public class BookLibrary
{
public int BookID { get; private set; }
public int LibraryID { get; private set; }
public int Count { get; private set; }
public static BookLibrary CreateEntity(int bookID, int libraryID, int count)
{
return new BookLibrary
{
BookID = bookID,
LibraryID = libraryID,
Count = count
};
}
}
}