startit/Emne 3/BankAppMarie/BankAppMarie/Bill.cs

26 lines
597 B
C#
Raw Normal View History

2024-12-03 11:47:01 +01:00
using System.Security.Cryptography;
2024-11-27 10:51:48 +01:00
namespace BankAppMarie
{
public class Bill
{
2024-12-03 11:47:01 +01:00
public int Amount { get; private set; }
public string AccountNumber { get; set; }
public string Sender { get; set; }
public string KidNr { get; set; }
2024-12-03 13:40:12 +01:00
public int Id { get; set; }
2024-12-03 11:47:01 +01:00
public DateTime PayDate { get; set; }
2024-12-03 13:40:12 +01:00
public Bill(int billAmount, string billNumber, DateTime timeToPay, int id)
2024-12-03 11:47:01 +01:00
{
Amount = billAmount;
KidNr = billNumber;
PayDate = timeToPay;
2024-12-03 13:40:12 +01:00
Id = id;
2024-12-03 11:47:01 +01:00
}
2024-11-27 10:51:48 +01:00
}
2024-12-03 11:47:01 +01:00
}