Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_okr_template_fields_assign_id_seq'::regclass) |
|
|
Primary key |
|
| template_id | int8 | 19 | null |
|
|
FK: public.tbl_okr_template.id |
||
| field_name | varchar | 200 | null |
|
|
The custom name or description of the specific Key Result (KR). |
||
| field_type | varchar | 20 | √ | null |
|
|
Defines the nature or category of the goal/item being assigned. |
|
| is_self_review | bool | 1 | √ | null |
|
|
Boolean flag: Is employee self-review required? |
|
| is_m1_review | bool | 1 | √ | null |
|
|
Boolean flag: Is Manager 1 (M1) review required? |
|
| is_m2_review | bool | 1 | √ | null |
|
|
Boolean flag: Is Manager 2 (M2) review required? |
|
| is_hr_review | bool | 1 | √ | null |
|
|
Boolean flag: Is HR review required? |
|
| review_frequency | varchar | 20 | √ | null |
|
|
How often the progress on this KR should be formally reviewed (e.g., MONTHLY, QUARTERLY). |
|
| period_type | varchar | 20 | √ | null |
|
|
The duration type for the KR (e.g., MONTHLY, QUARTERLY, YEARLY). |
|
| start_date | date | 13 | null |
|
|
The start date for tracking progress on this specific KR. |
||
| end_date | date | 13 | null |
|
|
The end date for tracking progress on this specific KR. |
||
| measurement_type | varchar | 60 | √ | null |
|
|
The method used to track progress. |
|
| measurement_unit | varchar | 50 | √ | null |
|
|
The unit of measure (e.g., $, %, Count, Hours). |
|
| current_value | numeric | 0 | √ | null |
|
|
The initial starting value for the KR (often 0 or the current baseline). |
|
| target_value | numeric | 0 | √ | null |
|
|
The goal or target value set for this Key Result. |
|
| weightage | float8 | 17,17 | √ | null |
|
|
The weightage assigned to this KR, indicating its contribution to the overall goal score. |
|
| department_id | int8 | 19 | √ | null |
|
|
FK: public.tbl_department.id |
|
| is_delete | bool | 1 | √ | null |
|
|
Soft-delete flag: Indicates if this goal has been logically deleted from the template. |
|
| 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 custom label or short name for the Objective for display purposes. |
|
| key_result_name_label | varchar | 200 | √ | null |
|
|
A custom label or short name for the Key Result for display purposes. |
|
| measurement_config_id | int8 | 19 | √ | null |
|
|
FK: ID of the measurement configuration setup/scale. |
|
| measurement_unit_config | text | 2147483647 | √ | null |
|
|
JSON or string detailing advanced configuration for the measurement unit (e.g., range, scale options). |
|
| reviewer_weightage | text | 2147483647 | √ | null |
|
|
A JSON string defining the weighted contribution of each reviewer’s score (e.g., M1: 60%, HR: 40%). |
|
| pro_rata_target | text | 2147483647 | √ | null |
|
|
JSON string storing the prorated target values over time (e.g., monthly/quarterly targets) if applicable. |
|
| is_monthly_review | bool | 1 | √ | null |
|
|
Boolean flag: Indicates if a monthly review is required for this specific KR. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_okr_template_fields_assign | Primary key | Asc | id |
