Daten speichern
This commit is contained in:
@@ -2,26 +2,38 @@
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Jugenddienst_Stunden.Types {
|
||||
/// <summary>
|
||||
/// Represents a day time entry for an employee.
|
||||
/// </summary>
|
||||
public class DayTime {
|
||||
public int? id;
|
||||
public int EmployeeId;
|
||||
public DateTime day;
|
||||
public int wday;
|
||||
public int? id { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
public DateTime day { get; set; }
|
||||
public int wday { get; set; }
|
||||
public TimeOnly begin { get; set; }
|
||||
public TimeOnly end { get; set; }
|
||||
public string description { get; set; }
|
||||
public string? free;
|
||||
public bool? approved;
|
||||
public int? type;
|
||||
public int? projekt;
|
||||
public int? gemeinde;
|
||||
public TimeOnly night;
|
||||
public Dictionary<string, TimeOnly> total;
|
||||
public TimeOnly end_print;
|
||||
public string? free { get; set; }
|
||||
public bool? approved { get; set; }
|
||||
public int? type { get; set; }
|
||||
public int? projekt { get; set; }
|
||||
public int? gemeinde { get; set; }
|
||||
public TimeOnly night { get; set; }
|
||||
public Dictionary<string, TimeOnly> total { get; set; }
|
||||
public TimeOnly end_print { get; set; }
|
||||
public TimeSpan TimeSpanVon { get; set; }
|
||||
public TimeSpan TimeSpanBis { get; set; }
|
||||
public Collection<Projekt> Projekte { get; set; }
|
||||
public Collection<Gemeinde> Gemeinden { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the active Gemeinde based on the gemeinde ID.
|
||||
/// </summary>
|
||||
public Gemeinde GemeindeAktiv { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the active Projekt based on the projekt ID.
|
||||
/// </summary>
|
||||
public Projekt ProjektAktiv { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user