Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_salarystructuretemplate_id_seq'::regclass) |
|
|
Primary key |
|
| templatename | varchar | 200 | null |
|
|
The unique name given to the template (e.g., “Standard Sales Structure,” “Senior Management CTC”). |
||
| templatetype | varchar | 50 | null |
|
|
The type or category of the template (e.g., CTC_BASED, GROSS_BASED). |
||
| minctc | numeric | 0 | √ | null |
|
|
The minimum acceptable annual Cost-to-Company (CTC) value that can be assigned using this template. |
|
| maxctc | numeric | 0 | √ | null |
|
|
The maximum acceptable annual Cost-to-Company (CTC) value that can be assigned using this template. |
|
| mingross | numeric | 0 | √ | null |
|
|
The minimum acceptable monthly/annual Gross Salary value that can be assigned using this template. |
|
| maxgross | numeric | 0 | √ | null |
|
|
The maximum acceptable monthly/annual Gross Salary value that can be assigned using this template. |
|
| applicablecriteria | text | 2147483647 | √ | null |
|
|
JSON or string data defining the employee groups or criteria for which this template is applicable (e.g., Department=Sales, Designation=Manager). |
|
| splitsectiona | bool | 1 | √ | null |
|
|
Boolean flag: Likely controls a visual or calculation split in the presentation of the salary structure (e.g., statutory vs. non-statutory components). |
|
| status | varchar | 50 | null |
|
|
The current operational state of the template (e.g., ACTIVE, INACTIVE, DRAFT). |
||
| createdby | varchar | 50 | null |
|
|
|||
| modifiedby | varchar | 50 | null |
|
|
|||
| createddate | timestamp | 29,6 | null |
|
|
|||
| modifieddate | timestamp | 29,6 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_salarystructuretemplate_pk_tbl_salarystructuretemplate | Primary key | Asc | id |
