Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_customfields_id_seq'::regclass) |
|
|
Primary key |
|
| name | varchar | 200 | √ | null |
|
|
The internal, technical name of the field (used in the database and code for mapping, e.g., “travel_reason”). |
|
| field_type | varchar | 200 | √ | null |
|
|
The data type of the field (e.g., TEXT, NUMBER, DATE, BOOLEAN). |
|
| label | varchar | 200 | √ | null |
|
|
The user-facing display text or title for the field (e.g., “Reason for Travel”). |
|
| note | varchar | 200 | √ | null |
|
|
A short instructional note or tooltip displayed to the user next to the field. |
|
| component_type | varchar | 200 | √ | null |
|
|
The UI component or input mechanism used to render the field (e.g., DROPDOWN, TEXTAREA, RADIO_BUTTONS). |
|
| is_deletable | int8 | 19 | √ | '1'::bigint |
|
|
Flag (0=No, 1=Yes) indicating if the HRIS system allows this custom field to be deleted by a tenant administrator (often set to null for default/system fields). |
|
| error_message | varchar | 200 | √ | null |
|
|
The validation message displayed to the user if the input to this field fails validation rules. |
|
| createdby | varchar | 50 | √ | null |
|
|
||
| modifiedby | varchar | 50 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
||
| stage | varchar | 100 | √ | null |
|
|
The current operational state of the custom field. |
|
| companyid | int8 | 19 | √ | null |
|
|
FK: public.tbl_company.id |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_customfields_pk__tbl_cust__3214ec0791443bb3 | Primary key | Asc | id |
