using CommunityToolkit.Mvvm.ComponentModel; using System.Collections.ObjectModel; namespace Jugenddienst_Stunden.Types; public partial class Hours : ObservableObject { /// /// Total time in seconds for the current context. /// "zeit" is used by the API to represent the current recorded time value. /// public int? zeit { get; set; } /// /// Nominal working time expectation (e.g. seconds per day or month depending on API semantics). /// Represents the expected amount of time to be worked. /// public int? nominal { get; set; } /// /// List of nominal day records returned by the API. /// May be null when the API does not provide per-day nominal data. /// public List? Nominal_day_api; /// /// List of nominal week records returned by the API. /// May be null when the API does not provide per-week nominal data. /// public List? Nominal_week_api; /// /// Total time in seconds reported by the API for the current period. Nullable if not provided. /// public double? zeit_total { get; set; } /// /// Daily total time values returned by the API. /// Each entry represents a day with its associated time value. /// public List zeit_total_daily_api; /// /// Collection of daytime entries representing individual recorded time slots or events. /// Nullable when the API returns no detailed daytime information. /// public List? daytime; //public List wochensumme; [ObservableProperty] public double overtime_month; [ObservableProperty] public double overtime; //public List overtime_day; [ObservableProperty] public double zeitausgleich; public double zeitausgleich_month; public double? holiday { get; set; } public double krankheit; public double weiterbildung; public double bereitschaft; public double bereitschaft_month; //public Operator operator_api; public DateTime Today; public DateTime Date; public DateTime MinDate; public DateTime MaxDate; public Collection Projekte { get; set; } public Collection Gemeinden { get; set; } public Collection Freistellungen { get; set; } public int EmployeeId { get; set; } }