Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_assets_id_seq'::regclass) |
|
|
Primary key |
|
| asset_type_id | int8 | 19 | null |
|
|
Asset Type ID |
||
| serial_number | varchar | 30 | null |
|
|
Asset Serial Number |
||
| asset_name | varchar | 100 | null |
|
|
Asset Name |
||
| brand_name | varchar | 100 | √ | null |
|
|
Brand Name |
|
| status | varchar | 20 | √ | null |
|
|
Asset Status |
|
| non_recoverable | bool | 1 | √ | null |
|
|
Non-Recoverable Flag |
|
| allocation_type | varchar | 20 | null |
|
|
Allocation Type |
||
| branch_location_id | int8 | 19 | √ | null |
|
|
Branch Location |
|
| purchase_date | date | 13 | √ | null |
|
|
Purchase Date |
|
| purchase_cost | numeric | 0 | √ | null |
|
|
Purchase Cost |
|
| depreciation_percentage | numeric | 0 | √ | null |
|
|
Depreciation Percentage |
|
| depreciation_frequency | varchar | 20 | √ | null |
|
|
Depreciation Frequency |
|
| vendor_id | int8 | 19 | √ | null |
|
|
Vendor ID |
|
| renewal_date | date | 13 | √ | null |
|
|
Renewal Date |
|
| expiration_date | date | 13 | √ | null |
|
|
Asset Expiration Date |
|
| warranty_end_date | date | 13 | √ | null |
|
|
Warranty End Date |
|
| insurance_expiration_date | date | 13 | √ | null |
|
|
Insurance Expiration Date |
|
| description | varchar | 1000 | √ | null |
|
|
Asset Description |
|
| attachments | text | 2147483647 | √ | null |
|
|
Asset Attachments |
|
| allocation_date | date | 13 | √ | null |
|
|
Allocation Date |
|
| allocated_to | text | 2147483647 | √ | null |
|
|
Allocated Employees |
|
| return_date | date | 13 | √ | null |
|
|
Return Date |
|
| allocation_remarks | varchar | 1000 | √ | null |
|
|
Allocation Remarks |
|
| allocation_attachments | text | 2147483647 | √ | null |
|
|
Allocation Attachments |
|
| 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 | Primary key | Asc | id |
