Zhelovanov_Dmitrii_COP/KOP_Labs/Classes/Book.cs

31 lines
491 B
C#
Raw Normal View History

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;
}
}
}