21 lines
No EOL
402 B
C#
21 lines
No EOL
402 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
} |