Buecherwurm/Lending.cs
2020-04-28 10:54:22 +02:00

23 lines
No EOL
473 B
C#

using System;
namespace Bücherwurm
{
class Lending
{
public int LendId {get;}
public int LendItem {get; set;}
public DateTime ReturnDate {get;}
public string Customer {get; }
public Lending(int Id, int Item, string Customer, int timeInDays)
{
LendId = Id;
LendItem = Item;
ReturnDate = DateTime.Now.AddDays(timeInDays);
this.Customer = Customer;
}
}
}