Skip to content

Commit

Permalink
added JS Doc for models
Browse files Browse the repository at this point in the history
  • Loading branch information
dsumer committed Oct 9, 2023
1 parent eb0bbeb commit 2283381
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/models/holidayscarry.ts
Original file line number Diff line number Diff line change
@@ -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;
};
11 changes: 11 additions & 0 deletions src/models/holidaysquota.ts
Original file line number Diff line number Diff line change
@@ -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;
};
Expand Down

0 comments on commit 2283381

Please sign in to comment.