start implementation of magazine

This commit is contained in:
nek0 2020-04-28 11:04:54 +02:00
parent c13e5ae800
commit d58df2a5f7

21
Magazine.cs Normal file
View file

@ -0,0 +1,21 @@
namespace Bücherwurm
{
public class Magazine : IProduct
{
public int ProductId {get; set;}
public string ImageLink {get; set;}
public string Category {get; set;}
public int LendTime {get; set;}
public void OverwriteNullId(int Id)
{
if (ProductId == 0)
{
ProductId = Id;
}
}
}
}