Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_okr_template_assign_id_seq'::regclass) |
|
|
Primary key |
|
| template_name | varchar | 200 | null |
|
|
The name of the OKR template assigned (e.g., “Annual Sales Goals”). |
||
| review_frequency | varchar | 20 | √ | null |
|
|
The frequency of formal progress reviews for this cycle (e.g., QUARTERLY, ANNUALLY). |
|
| period_type | varchar | 20 | √ | null |
|
|
The duration type of the OKR cycle (e.g., YEARLY, HALF_YEARLY). |
|
| start_date | date | 13 | null |
|
|
The start date of the performance cycle. |
||
| end_date | date | 13 | null |
|
|
The end date of the performance cycle. |
||
| assignee | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| total_tasks | int4 | 10 | √ | null |
|
|
The total count of objectives and key results/tasks included in this assigned template. |
|
| total_weightage | float8 | 17,17 | √ | null |
|
|
The sum of the weightage of all goals in the template (should typically be 100). |
|
| is_delete | bool | 1 | √ | null |
|
|
Soft-delete flag: Indicates if the assignment has been logically deleted or cancelled. |
|
| createdby | varchar | 50 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifiedby | varchar | 50 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
||
| assign_approval | bool | 1 | √ | false |
|
|
Boolean flag: True if the initial assignment of the template requires approval by a manager/HR. |
|
| self | bool | 1 | √ | false |
|
|
Boolean flag: True if the Self-Review step for this cycle is still pending. |
|
| m1 | bool | 1 | √ | false |
|
|
Boolean flag: True if the Manager 1 (M1) review step is still pending. |
|
| m2 | bool | 1 | √ | false |
|
|
Boolean flag: True if the Manager 2 (M2) review step is still pending. |
|
| hr | bool | 1 | √ | false |
|
|
Boolean flag: True if the HR review/finalization step is still pending. |
|
| objective_name_label | varchar | 200 | √ | null |
|
|
The custom label used for Objectives in this assignment (e.g., “Goal Area”). |
|
| key_result_name_label | varchar | 200 | √ | null |
|
|
The custom label used for Key Results in this assignment (e.g., “Metric”). |
|
| reject_reason | varchar | 200 | √ | null |
|
|
Stores the reason provided if the assignment or review was formally rejected by a reviewer. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_okr_template_assign | Primary key | Asc | id |
