Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| employeepromotionid | bigserial | 19 | √ | nextval('tbl_employeepromotion_employeepromotionid_seq'::regclass) |
|
|
Primary key |
|
| employeeid | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| designationid | int8 | 19 | √ | null |
|
|
FK: Reference to a designation master table |
|
| paycadreid | int8 | 19 | √ | null |
|
|
FK: Reference to a pay cadre master table |
|
| promotiondate | timestamp | 29,6 | √ | null |
|
|
Meaning: The official effective date of the promotion. |
|
| description | varchar | 500 | √ | null |
|
|
Detailed remarks or justification for the promotion. |
|
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
|
| createdon | timestamp | 29,6 | √ | null |
|
|
Legacy timestamp of when the promotion record was initially created. |
|
| modifiedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
|
| modifiedon | timestamp | 29,6 | √ | null |
|
|
Legacy timestamp of the last modification to the promotion record. |
|
| com1 | varchar | 50 | √ | null |
|
|
Custom field 1 (General Purpose) - Reserved for specific, non-standard business data. |
|
| com2 | varchar | 50 | √ | null |
|
|
Custom field 2 (General Purpose). |
|
| com3 | varchar | 50 | √ | null |
|
|
Custom field 3 (General Purpose). |
|
| com4 | varchar | 50 | √ | null |
|
|
Custom field 4 (General Purpose). |
|
| com5 | numeric | 0 | √ | null |
|
|
Custom field 5 (General Purpose). |
|
| com6 | numeric | 0 | √ | null |
|
|
Custom field 6 (General Purpose). |
|
| com7 | int8 | 19 | √ | null |
|
|
Custom field 7 (General Purpose). |
|
| com8 | int8 | 19 | √ | null |
|
|
Custom field 8 (General Purpose). |
|
| com9 | bool | 1 | √ | null |
|
|
Custom field 9 (General Purpose). |
|
| com10 | bool | 1 | √ | null |
|
|
Custom field 10 (General Purpose). |
|
| com11 | timestamp | 29,6 | √ | null |
|
|
Custom field 11 (General Purpose). |
|
| com12 | timestamp | 29,6 | √ | null |
|
|
Custom field 12 (General Purpose). |
|
| bandid | int4 | 10 | √ | null |
|
|
FK: Reference to a band master table |
|
| levelid | int4 | 10 | √ | null |
|
|
FK: Reference to a level master table |
|
| status | varchar | 50 | √ | null |
|
|
The current lifecycle status of the promotion request (e.g., Pending, Approved, Rejected, Implemented). |
|
| isimported | bool | 1 | √ | false |
|
|
Flag indicating if this promotion record was imported from an external system. |
|
| is_promotion_effected | bool | 1 | √ | null |
|
|
Flag indicating if the promotion has been fully processed and its changes (salary, designation, etc.) have taken effect in dependent systems. |
|
| past_structure_ids | text | 2147483647 | √ | null |
|
|
A JSON array or Text list of the old organizational unit IDs (e.g., department, designation, band) prior to this promotion event. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_employeepromotion_pk_tbl_employeepromotion | Primary key | Asc | employeepromotionid |
