Keeping Order

This commit is contained in:
2024-09-07 19:48:34 +02:00
parent 4cabfe1b29
commit d91e3cbc9a
15 changed files with 100 additions and 84 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Types
{
internal class Gemeinde
{
public int Id { get; set; }
public string Name { get; set; }
public Gemeinde(int id, string name)
{
Id = id;
Name = name;
}
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Models {
public class NominalDay {
public int day_number;
public int month_number;
public decimal hours;
public DateOnly date;
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Types
{
public class NominalWeek
{
public int week_number;
public decimal hours;
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Types
{
internal class Projekt
{
public int Id { get; set; }
public string Name { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Types
{
public class TimeDay
{
public int Day { get; set; }
public decimal Hours { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Types
{
internal class Timetable
{
public List<TimetableEntry> timetable;
public decimal wochensumme;
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Types
{
internal class TimetableEntry
{
public List<TimeOnly>? von;
public List<TimeOnly>? bis;
public decimal summe { get; set; }
}
}