Buecherwurm/EBook.cs
2020-04-28 15:58:27 +02:00

26 lines
No EOL
690 B
C#

namespace Bücherwurm
{
public class EBook : Book, IProduct
{
public EBook() {
Category = CategoryEnum.EBook;
LendTime = 30;
LendType = LendTypeEnum.Virtual;
}
public EBook(Book Parent)
{
Category = CategoryEnum.EBook;
LendTime = 30;
LendType = LendTypeEnum.Virtual;
Name = Parent.Name;
Author = Parent.Author;
Country = Parent.Country;
Link = Parent.Link;
Language = Parent.Language;
Pages = Parent.Pages;
Year = Parent.Pages;
ImageLink = Parent.ImageLink;
}
}
}