2023-10-18 19:08:16 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace KOP_Labs.Classes
|
|
|
|
|
{
|
|
|
|
|
public class Book
|
|
|
|
|
{
|
2023-11-03 09:59:23 +04:00
|
|
|
|
|
|
|
|
|
public string Author { get; private set; } = string.Empty;
|
2023-11-30 23:20:29 +04:00
|
|
|
|
|
2023-10-18 19:08:16 +04:00
|
|
|
|
public string Name { get; private set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string Annotation { get; private set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Book()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2023-11-30 23:20:29 +04:00
|
|
|
|
public Book(string author, string name, string annotation)
|
2023-10-18 19:08:16 +04:00
|
|
|
|
{
|
2023-11-03 09:59:23 +04:00
|
|
|
|
Author = author;
|
2023-11-30 23:20:29 +04:00
|
|
|
|
|
2023-10-18 19:08:16 +04:00
|
|
|
|
Name = name;
|
|
|
|
|
Annotation = annotation;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|