diff --git a/src/models/holidayscarry.ts b/src/models/holidayscarry.ts index 602c7a02..efd6bae2 100644 --- a/src/models/holidayscarry.ts +++ b/src/models/holidayscarry.ts @@ -1,6 +1,12 @@ export type HolidayscarryRow = { + /** The related employee's ID */ usersId: number; + /** + * Year for which the holiday carryover applies + * Format YYYY + */ year: number; + /** Day count */ count: number; note: string | null; }; diff --git a/src/models/holidaysquota.ts b/src/models/holidaysquota.ts index 4d10e30c..f9292f70 100644 --- a/src/models/holidaysquota.ts +++ b/src/models/holidaysquota.ts @@ -1,8 +1,19 @@ export type HolidaysquotaRow = { + /** The ID of the holiday quota settings */ id: number; + /** The related employee's ID */ usersId: number; + /** + * Year from which on the holiday quota setting apply + * Format YYYY + */ yearSince: number; + /** + * Year until which the holiday quota setting apply + * Format YYYY + */ yearUntil: number | null; + /** Count of holidays */ count: number; note: string | null; };