Keeping Order
This commit is contained in:
20
Jugenddienst Stunden/Types/Gemeinde.cs
Normal file
20
Jugenddienst Stunden/Types/Gemeinde.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
14
Jugenddienst Stunden/Types/NominalDay.cs
Normal file
14
Jugenddienst Stunden/Types/NominalDay.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
14
Jugenddienst Stunden/Types/NominalWeek.cs
Normal file
14
Jugenddienst Stunden/Types/NominalWeek.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
14
Jugenddienst Stunden/Types/Projekt.cs
Normal file
14
Jugenddienst Stunden/Types/Projekt.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
Jugenddienst Stunden/Types/TimeDay.cs
Normal file
14
Jugenddienst Stunden/Types/TimeDay.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
Jugenddienst Stunden/Types/Timetable.cs
Normal file
14
Jugenddienst Stunden/Types/Timetable.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
15
Jugenddienst Stunden/Types/TimetableEntry.cs
Normal file
15
Jugenddienst Stunden/Types/TimetableEntry.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user