Buecherwurm/Book.cs
2020-04-23 13:27:32 +02:00

38 lines
886 B
C#

namespace Bücherwurm
{
class Book
{
public int BookId {get;}
public string Title {get; set;}
public string Author {get; set;}
public string Country {get; set;}
public string ImageLink {get; set;}
public string Link {get; set;}
public string Language {get; set;}
public int Pages {get; set;}
public int Year {get; set;}
public Book(int Id, string Title, string Author,
string Country, string ILink, string Link, string Language,
int Pages, int Year)
{
BookId = Id;
this.Title = Title;
this.Author = Author;
this.Country = Country;
ImageLink = ILink;
this.Link = Link;
this.Language = Language;
this.Pages = Pages;
this.Year = Year;
}
}
}