add Programmyday form github

This commit is contained in:
Ruben Kallinich
2024-07-25 15:47:46 +02:00
parent 09c8eab938
commit 7362c3d7ce
132 changed files with 3669 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LohnabrechnungMusterlösung
{
internal class ExternerMitarbeiter : Mitarbeiter
{
private int projektStunden;
private const int stundenLohn = 75;
public ExternerMitarbeiter(string? vorname, string? nachname, int projektStunden) : base(vorname, nachname)
{
this.vorname = vorname;
this.nachname = nachname;
this.projektStunden = projektStunden;
GehaltBerechnung();
}
public void GehaltBerechnung()
{
gehalt = projektStunden * stundenLohn;
}
}
}