34 lines
539 B
C#
34 lines
539 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 string Author { get; private set; } = string.Empty;
|
|
|
|
public string Name { get; private set; } = string.Empty;
|
|
|
|
public string Annotation { get; private set; } = string.Empty;
|
|
|
|
|
|
public Book()
|
|
{
|
|
|
|
}
|
|
public Book(string author, string name, string annotation)
|
|
{
|
|
Author = author;
|
|
|
|
Name = name;
|
|
Annotation = annotation;
|
|
|
|
}
|
|
|
|
}
|
|
}
|