Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_okr_template_fields_id_seq'::regclass) |
|
|
Primary key |
|
| template_id | int8 | 19 | null |
|
|
FK: public.tbl_okr_template.id (Likely the parent template ID or a default global template ID) |
||
| field_name | varchar | 200 | null |
|
|
The name or description of the specific Key Result (KR) definition. |
||
| field_type | varchar | 20 | √ | null |
|
|
Defines the nature or category of the goal/item (e.g., KEY_RESULT, OBJECTIVE, QUESTIONNAIRE). |
|
| is_self_review | bool | 1 | √ | null |
|
|
Default flag: Is employee self-review required? |
|
| is_m1_review | bool | 1 | √ | null |
|
|
Default flag: Is Manager 1 (M1) review required? |
|
| is_m2_review | bool | 1 | √ | null |
|
|
Default flag: Is Manager 2 (M2) review required? |
|
| is_hr_review | bool | 1 | √ | null |
|
|
Default flag: Is HR review required? |
|
| review_frequency | varchar | 20 | √ | null |
|
|
The default frequency at which progress on this KR should be formally reviewed. |
|
| period_type | varchar | 20 | √ | null |
|
|
The default duration type for the KR (e.g., MONTHLY, QUARTERLY). |
|
| period_range | varchar | 50 | √ | null |
|
|
A string or JSON defining the default allowable range or duration for the goal period. |
|
| measurement_type | varchar | 60 | √ | null |
|
|
The default method used to track progress (e.g., NUMERIC, PERCENTAGE). |
|
| measurement_unit | varchar | 50 | √ | null |
|
|
The default unit of measure (e.g., $, %, Count). |
|
| current_value | numeric | 0 | √ | null |
|
|
The default initial starting value for the KR (often 0). |
|
| target_value | numeric | 0 | √ | null |
|
|
The default target value set for this Key Result. |
|
| weightage | float8 | 17,17 | √ | null |
|
|
The default weightage assigned to this KR/Objective definition. |
|
| department_id | int8 | 19 | √ | null |
|
|
FK: public.tbl_department.id |
|
| is_delete | bool | 1 | √ | null |
|
|
Soft-delete flag: Indicates if this master field has been logically removed from the library. |
|
| createdby | varchar | 50 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifiedby | varchar | 50 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
||
| objective_name | varchar | 200 | √ | null |
|
|
The main Objective text to which the Key Result belongs. |
|
| objective_name_label | varchar | 200 | √ | null |
|
|
A default custom label or short name for the Objective. |
|
| key_result_name_label | varchar | 200 | √ | null |
|
|
A default custom label or short name for the Key Result. |
|
| measurement_config_id | int8 | 19 | √ | null |
|
|
FK: ID of the master measurement configuration setup/scale. |
|
| measurement_unit_config | text | 2147483647 | √ | null |
|
|
JSON or string detailing advanced default configuration for the measurement unit. |
|
| reviewer_weightage | text | 2147483647 | √ | null |
|
|
A JSON string defining the default weighted contribution of each reviewer’s score. |
|
| pro_rata_target | text | 2147483647 | √ | null |
|
|
JSON string storing the default prorated target values over time. |
|
| is_monthly_review | bool | 1 | √ | null |
|
|
Default flag: Indicates if a monthly review is required. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_okr_template_fields | Primary key | Asc | id |
