SalaryAnalysisUnit
Documentation for the SalaryAnalysisUnit database schema.
Fields
| Field | Data Type | Usage |
|---|---|---|
| companyId | ObjectId | Unique reference to company. |
| branchId | ObjectId | Unique reference to branch. |
| month | Number | Stores the month data. |
| min | Number | Stores the min data. |
| max | Number | Stores the max data. |
| year | Number | Stores the year data. |
| unitId | ObjectId | Unique reference to unit. |
| unitCode | String | Stores the unit code data. |
| unitName | String | The name or title of the salaryanalysisunit. |
| prevProcessed | Number | Stores the prev processed data. |
| currProcessed | Number | Stores the curr processed data. |
| prevTotal | Number | Stores the prev total data. |
| currTotal | Number | Stores the curr total data. |
| calculatedAt | Date | Timestamp/Date for calculatedAt. |
| createdBy | ObjectId | Timestamp/Date for createdBy. |
| updatedBy | ObjectId | Timestamp/Date for updatedBy. |