Skip to content

Commit b9e44ae

Browse files
committed
Fixing the model to accept nullable values.
1 parent 27e8cd7 commit b9e44ae

File tree

1 file changed

+21
-21
lines changed
  • eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Infrastructure/Models

1 file changed

+21
-21
lines changed

eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Infrastructure/Models/DeviceUserModel.cs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,47 +42,47 @@ public class DeviceUserModel
4242
public bool? TimeRegistrationEnabled { get; set; }
4343

4444
// minutes from midnight for the start of the shift (0-1440) monday
45-
public int StartMonday { get; set; }
45+
public int? StartMonday { get; set; }
4646
// minutes from midnight for the end of the shift (0-1440) monday
47-
public int EndMonday { get; set; }
47+
public int? EndMonday { get; set; }
4848
// minutes of break for the shift (0-1440) monday
49-
public int BreakMonday { get; set; }
49+
public int? BreakMonday { get; set; }
5050
// minutes from midnight for the start of the shift (0-1440) tuesday
51-
public int StartTuesday { get; set; }
51+
public int? StartTuesday { get; set; }
5252
// minutes from midnight for the end of the shift (0-1440) tuesday
53-
public int EndTuesday { get; set; }
53+
public int? EndTuesday { get; set; }
5454
// minutes of break for the shift (0-1440) tuesday
55-
public int BreakTuesday { get; set; }
55+
public int? BreakTuesday { get; set; }
5656
// minutes from midnight for the start of the shift (0-1440) wednesday
57-
public int StartWednesday { get; set; }
57+
public int? StartWednesday { get; set; }
5858
// minutes from midnight for the end of the shift (0-1440) wednesday
59-
public int EndWednesday { get; set; }
59+
public int? EndWednesday { get; set; }
6060
// minutes of break for the shift (0-1440) wednesday
61-
public int BreakWednesday { get; set; }
61+
public int? BreakWednesday { get; set; }
6262
// minutes from midnight for the start of the shift (0-1440) thursday
63-
public int StartThursday { get; set; }
63+
public int? StartThursday { get; set; }
6464
// minutes from midnight for the end of the shift (0-1440) thursday
65-
public int EndThursday { get; set; }
65+
public int? EndThursday { get; set; }
6666
// minutes of break for the shift (0-1440) thursday
67-
public int BreakThursday { get; set; }
67+
public int? BreakThursday { get; set; }
6868
// minutes from midnight for the start of the shift (0-1440) friday
69-
public int StartFriday { get; set; }
69+
public int? StartFriday { get; set; }
7070
// minutes from midnight for the end of the shift (0-1440) friday
71-
public int EndFriday { get; set; }
71+
public int? EndFriday { get; set; }
7272
// minutes of break for the shift (0-1440) friday
73-
public int BreakFriday { get; set; }
73+
public int? BreakFriday { get; set; }
7474
// minutes from midnight for the start of the shift (0-1440) saturday
75-
public int StartSaturday { get; set; }
75+
public int? StartSaturday { get; set; }
7676
// minutes from midnight for the end of the shift (0-1440) saturday
77-
public int EndSaturday { get; set; }
77+
public int? EndSaturday { get; set; }
7878
// minutes of break for the shift (0-1440) saturday
79-
public int BreakSaturday { get; set; }
79+
public int? BreakSaturday { get; set; }
8080
// minutes from midnight for the start of the shift (0-1440) sunday
81-
public int StartSunday { get; set; }
81+
public int? StartSunday { get; set; }
8282
// minutes from midnight for the end of the shift (0-1440) sunday
83-
public int EndSunday { get; set; }
83+
public int? EndSunday { get; set; }
8484
// minutes of break for the shift (0-1440) sunday
85-
public int BreakSunday { get; set; }
85+
public int? BreakSunday { get; set; }
8686
public bool? TaskManagementEnabled { get; set; }
8787
public int? CustomerNo { get; set; }
8888
public int? OtpCode { get; set; }

0 commit comments

Comments
 (0)