HoursDto: Update
This commit is contained in:
@@ -8,13 +8,13 @@ public partial class Hours : ObservableObject {
|
|||||||
/// Total time in seconds for the current context.
|
/// Total time in seconds for the current context.
|
||||||
/// "zeit" is used by the API to represent the current recorded time value.
|
/// "zeit" is used by the API to represent the current recorded time value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int zeit;
|
public int? zeit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Nominal working time expectation (e.g. seconds per day or month depending on API semantics).
|
/// Nominal working time expectation (e.g. seconds per day or month depending on API semantics).
|
||||||
/// Represents the expected amount of time to be worked.
|
/// Represents the expected amount of time to be worked.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int nominal;
|
public int? nominal { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// List of nominal day records returned by the API.
|
/// List of nominal day records returned by the API.
|
||||||
@@ -31,7 +31,7 @@ public partial class Hours : ObservableObject {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Total time in seconds reported by the API for the current period. Nullable if not provided.
|
/// Total time in seconds reported by the API for the current period. Nullable if not provided.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double? zeit_total;
|
public double? zeit_total { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Daily total time values returned by the API.
|
/// Daily total time values returned by the API.
|
||||||
@@ -54,7 +54,7 @@ public partial class Hours : ObservableObject {
|
|||||||
[ObservableProperty] public double zeitausgleich;
|
[ObservableProperty] public double zeitausgleich;
|
||||||
|
|
||||||
public double zeitausgleich_month;
|
public double zeitausgleich_month;
|
||||||
public double holiday;
|
public double? holiday { get; set; }
|
||||||
public double krankheit;
|
public double krankheit;
|
||||||
public double weiterbildung;
|
public double weiterbildung;
|
||||||
public double bereitschaft;
|
public double bereitschaft;
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ public partial class StundenViewModel : ObservableObject, IQueryAttributable, IN
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Monatsübersicht: Resturlaub
|
/// Monatsübersicht: Resturlaub
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double Holiday {
|
public double? Holiday {
|
||||||
get => Hours.holiday;
|
get => Hours.holiday;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user