SAL_LeavesTaken_Master
Documentation for the SAL_LeavesTaken_Master database schema.
Fields
| Field | Data Type | Usage |
|---|---|---|
| anyId | ObjectId | Unique reference to any. |
| leaveTakenId | String | Unique reference to leave Taken. |
| monthId | ObjectId | Unique reference to month. |
| yearId | ObjectId | Unique reference to year. |
| financialYearId | ObjectId | Unique reference to financial Year. |
| employeeId | ObjectId | Unique reference to employee. |
| leaveTaken | mongoose.Types.Decimal128 | Stores the leave taken data. |
| fromDate | Date | Timestamp/Date for fromDate. |
| toDate | Date | Timestamp/Date for toDate. |
| remarks | String | Detailed notes or remarks. |
| insertedUserId | ObjectId | Unique reference to inserted User. |
| updatedUserId | ObjectId | Unique reference to updated User. |
| insertedDateId | ObjectId | Unique reference to inserted Date. |
| updatedDateId | ObjectId | Unique reference to updated Date. |
| timestamp | Date | Timestamp/Date for timestamp. |