start implementation of magazine

This commit is contained in:
nek0 2020-04-28 11:04:54 +02:00
parent c13e5ae800
commit d58df2a5f7
1 changed files with 21 additions and 0 deletions

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