Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_resignationclearanceemployee_id_seq'::regclass) |
|
|
Primary key |
||||
| rclearanceid | int8 | 19 | null |
|
|
FK: public.tbl_ResignationClearance.Id (Implied) |
|||||
| departmentid | int4 | 10 | null |
|
|
FK: public.tbl_DepartmentOfCompany.DepartmentID |
|||||
| dptheademployeeid | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
||||
| status | varchar | 20 | √ | '''Pending'''::character varying |
|
|
The current status of the clearance for this department. |
||||
| description | varchar | 1000 | √ | null |
|
|
Detailed remarks or reasons provided by the approving department head, especially if the status is REJECTED or if there are notes on assets/dues. |
||||
| approvedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
||||
| active | bool | 1 | √ | false |
|
|
Boolean flag: Indicates if this specific departmental clearance requirement is currently active for the employee’s resignation process. |
||||
| attachment | varchar | 2000 | √ | null |
|
|
Path or reference to any document or file attached as evidence for the final clearance/sign-off. |
||||
| createdby | varchar | 50 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 50 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_resignationclearanceemployee_id | Primary key | Asc | id |



