Buecherwurm/Lending.cs
2020-04-29 11:30:49 +02:00

27 lines
No EOL
522 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;
}
}
}