23 lines
457 B
C#
23 lines
457 B
C#
|
using System;
|
||
|
|
||
|
namespace Bücherwurm
|
||
|
{
|
||
|
class Lending
|
||
|
{
|
||
|
public int LendId {get;}
|
||
|
|
||
|
public int[] LendItems {get; set;}
|
||
|
|
||
|
public DateTime ReturnDate {get;}
|
||
|
|
||
|
public string Customer {get; }
|
||
|
|
||
|
public Lending(int Id, int[] Items, string Customer)
|
||
|
{
|
||
|
LendId = Id;
|
||
|
LendItems = Items;
|
||
|
ReturnDate = DateTime.Now.AddDays(30);
|
||
|
this.Customer = Customer;
|
||
|
}
|
||
|
}
|
||
|
}
|