Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_assets_allocation_id_seq'::regclass) |
|
|
Primary key |
|
| asset_id | int8 | 19 | null |
|
|
FK: public.tbl_asset.id |
||
| allocation_date | date | 13 | √ | null |
|
|
The date the asset was officially allocated and handed over to the employee. |
|
| employee_id | varchar | 100 | null |
|
|
FK: public.tbl_employee.employeeid |
||
| return_date | date | 13 | √ | null |
|
|
The date the asset was either expected to be returned or the actual date the asset was returned, marking the end of the allocation. |
|
| allocation_remarks | varchar | 1000 | √ | null |
|
|
Any notes or remarks pertaining to the allocation (e.g., condition on handover, temporary nature of assignment). |
|
| allocation_attachments | text | 2147483647 | √ | null |
|
|
Text column storing file paths or references to documents (e.g., sign-off forms, checklists) related to the asset handover. |
|
| 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_allocation | Primary key | Asc | id |
