Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_employee_contract_id_seq'::regclass) |
|
|
Primary key |
||||
| employeeid | varchar | 255 | √ | null |
|
|
FK: public.tbl_employee.employeeId |
||||
| start_date | date | 13 | √ | null |
|
|
The effective start date of this specific contract period (often the joining date or renewal date). |
||||
| end_date | date | 13 | √ | null |
|
|
The stipulated end date of the contract. Null if the contract is for an indefinite term (e.g., Permanent). |
||||
| contract_type | varchar | 255 | √ | null |
|
|
The category or type of the contract (e.g., PERMANENT, FIXED_TERM, CONSULTANT, TEMPORARY). |
||||
| is_active | bool | 1 | √ | null |
|
|
Boolean flag: Indicates if this contract record is the current, active employment agreement for the employee. |
||||
| createdby | varchar | 255 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 255 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| employee_contracts_pkey | Primary key | Asc | id |



