24 lines
579 B
C#
Raw Normal View History

2024-12-20 11:46:58 +04:00
using System.ComponentModel;
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; }
2024-12-20 11:46:58 +04:00
2024-11-12 23:13:20 +04:00
public int LibraryID { get; private set; }
2024-12-20 11:46:58 +04:00
[DisplayName("Количество")]
2024-11-12 23:13:20 +04:00
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
};
}
}
}