Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_assets_request_id_seq'::regclass) |
|
|
Primary key |
|
| asset_type_id | int8 | 19 | null |
|
|
FK: public.tbl_asset_type.id |
||
| from_date | date | 13 | √ | null |
|
|
The start date from which the asset is required. |
|
| to_date | date | 13 | √ | null |
|
|
The end date until which the asset is required (if temporary/project-based). |
|
| description | varchar | 1000 | √ | null |
|
|
Detailed justification or description provided by the employee for why the asset is needed. |
|
| rep1_status | varchar | 50 | √ | null |
|
|
The status of the request after review by the first-level reporter. |
|
| rep1_reason | varchar | 50 | √ | null |
|
|
The justification or reason provided by the first-level reporter for their approval or rejection. |
|
| rep1_id | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| rep2_status | varchar | 50 | √ | null |
|
|
The status of the request after review by the second-level reporter. |
|
| rep2_reason | varchar | 50 | √ | null |
|
|
The justification or reason provided by the second-level reporter for their approval or rejection. |
|
| rep2_id | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| hr_reason | varchar | 50 | √ | null |
|
|
The justification or reason provided by the HR/Admin for their final action. |
|
| hr_id | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| final_status | varchar | 50 | √ | null |
|
|
The overall, conclusive status of the asset request. |
|
| allocated_asset_id | int8 | 19 | √ | null |
|
|
FK: public.tbl_assets.id |
|
| allocated_by | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| 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_assets_request | Primary key | Asc | id |
