31 lines
491 B
C#
31 lines
491 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace KOP_Labs.Classes
|
|||
|
{
|
|||
|
public class Book
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
public string Name { get; private set; } = string.Empty;
|
|||
|
|
|||
|
public string Annotation { get; private set; } = string.Empty;
|
|||
|
|
|||
|
|
|||
|
public Book()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
public Book(int id, string name, string annotation)
|
|||
|
{
|
|||
|
Id = id;
|
|||
|
Name = name;
|
|||
|
Annotation = annotation;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|