Buecherwurm/Book.cs

38 lines
886 B
C#
Raw Normal View History

2020-04-23 11:27:32 +00:00
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;
}
}
}