Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_employeeletters_id_seq'::regclass) |
|
|
Primary key |
||||
| employeeid | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
||||
| lettertemplateid | int8 | 19 | null |
|
|
FK: public.tbl_lettertemplate.id |
|||||
| htmlcontent | varchar | 2147483647 | √ | null |
|
|
Stores the fully rendered HTML content of the letter. |
||||
| varchar | 50 | √ | null |
|
|
Format: CSS measurement (px, cm, mm) |
|||||
| headerfromtop | varchar | 50 | √ | null |
|
|
Format: CSS measurement (px, cm, mm) |
||||
| header | varchar | 2147483647 | √ | null |
|
|
Format: HTML content |
||||
| varchar | 2147483647 | √ | null |
|
|
Format: HTML content |
|||||
| watermark | varchar | 100 | √ | null |
|
|
Format: Text or image reference |
||||
| status | varchar | 20 | √ | null |
|
|
Workflow States: PENDING, NEED_TO_DISCUSS, HISTORY, DELETED, ACTIVE |
||||
| publishoness | bool | 1 | null |
|
|
Flag Type: Boolean |
|||||
| createdby | varchar | 50 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 50 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
|||||
| signature | varchar | 1000 | √ | null |
|
|
Format: Base64 encoded image or digital signature data |
||||
| date | date | 13 | √ | null |
|
|
Format: Timestamp |
||||
| location | varchar | 255 | √ | null |
|
|
Format: String |
||||
| name | varchar | 255 | √ | null |
|
|
|||||
| signature_name | varchar | 255 | √ | null |
|
|
Format: String |
||||
| ip | varchar | 255 | √ | null |
|
|
Format: IPv4/IPv6 address |
||||
| requireacknowledgement | bool | 1 | √ | null |
|
|
Flag Type: Boolean |
||||
| usedocumentfile | bool | 1 | false |
|
|
Flag Type: Boolean |
|||||
| filename | text | 2147483647 | √ | null |
|
|
Format: String |
||||
| fileurl | text | 2147483647 | √ | null |
|
|
Format: Pre-signed S3 URL |
||||
| salarystructurehtml | text | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_employeeletters_pk_tbl_employeeletters | Primary key | Asc | id |
