Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| announcementid | serial | 10 | √ | nextval('tbl_announcement_announcementid_seq'::regclass) |
|
|
Primary key |
||||
| companyid | int4 | 10 | null |
|
|
FK: Reference to a company master table |
|||||
| stateid | int8 | 19 | √ | null |
|
|
FK: Reference to a state master table |
||||
| branchid | varchar | 2147483647 | √ | null |
|
|
FK: Reference to a branch master table |
||||
| announcementtitle | varchar | 50 | null |
|
|
The main subject or title of the announcement (e.g., “Annual Holiday Schedule,” “System Maintenance Notice”). |
|||||
| announcementdiscription | varchar | 500 | √ | null |
|
|
The detailed body or content of the announcement. |
||||
| announcementdate | timestamp | 29,6 | √ | null |
|
|
The official date the announcement was created or recorded. |
||||
| announcestatus | bool | 1 | null |
|
|
The current lifecycle status of the announcement (e.g., Draft, Scheduled, Active, Expired, Archived). |
|||||
| com1 | varchar | 2147483647 | √ | null |
|
|
Custom field 1 (General Purpose) - Reserved for specific, non-standard business data. |
||||
| com2 | varchar | 2147483647 | √ | null |
|
|
Custom field 2 (General Purpose). |
||||
| com3 | varchar | 2147483647 | √ | null |
|
|
Custom field 3 (General Purpose). |
||||
| com4 | varchar | 2147483647 | √ | null |
|
|
Custom field 4 (General Purpose). |
||||
| com5 | numeric | 0 | √ | null |
|
|
Custom field 5 (General Purpose). |
||||
| com6 | numeric | 0 | √ | null |
|
|
Custom field 6 (General Purpose). |
||||
| com7 | int8 | 19 | √ | null |
|
|
Custom field 7 (General Purpose). |
||||
| com8 | int8 | 19 | √ | null |
|
|
Custom field 8 (General Purpose). |
||||
| com9 | bool | 1 | √ | null |
|
|
Custom field 9 (General Purpose). |
||||
| com10 | bool | 1 | √ | null |
|
|
Custom field 10 (General Purpose). |
||||
| com11 | timestamp | 29,6 | √ | null |
|
|
Custom field 11 (General Purpose). |
||||
| com12 | timestamp | 29,6 | √ | null |
|
|
Custom field 12 (General Purpose). |
||||
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
||||
| createdon | timestamp | 29,6 | √ | null |
|
|
Legacy timestamp of when the announcement was initially created (may be redundant with |
||||
| modifiedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
||||
| modifiedon | timestamp | 29,6 | √ | null |
|
|
Legacy timestamp of the last modification to the announcement (may be redundant with |
||||
| createddate | timestamp | 29,6 | √ | null |
|
|
Meaning: The exact timestamp of when the record was created. |
||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Meaning: The exact timestamp of the last modification to the record. |
||||
| recipientgroup | varchar | 255 | null |
|
|
Meaning: Defines the rule or group criteria used to target the announcement (e.g., Department, Designation, All Employees). |
|||||
| recipientgroupmember | text | 2147483647 | √ | null |
|
|
JSON or Text list specifying the actual IDs/names of the targeted members based on the |
||||
| startdate | date | 13 | null |
|
|
The date from which the announcement should become active/visible. |
|||||
| enddate | date | 13 | null |
|
|
The date on which the announcement should expire and be hidden. |
|||||
| type | varchar | 100 | null |
|
|
The category of the announcement (e.g., Announcement, Event, News Letter). |
|||||
| eventstartdate | date | 13 | √ | null |
|
|
If the announcement is an event, the start date of the actual event. |
||||
| eventstarttime | time | 15,6 | √ | null |
|
|
If the announcement is an event, the start time of the actual event. |
||||
| eventenddate | date | 13 | √ | null |
|
|
If the announcement is an event, the end date of the actual event. |
||||
| eventendtime | time | 15,6 | √ | null |
|
|
If the announcement is an event, the end time of the actual event. |
||||
| notifyemail | bool | 1 | null |
|
|
Flag indicating if the announcement should be sent as an email notification. |
|||||
| notifypush | bool | 1 | null |
|
|
Flag indicating if the announcement should be sent as a mobile push notification. |
|||||
| notifysent | bool | 1 | false |
|
|
Flag indicating whether the notification job (email/push) has successfully completed for this announcement. |
|||||
| filename | varchar | 500 | √ | null |
|
|
The name of the attached file, if any. |
||||
| filedownloadable | bool | 1 | √ | null |
|
|
Flag indicating whether the attached file is available for employees to download. |
||||
| to_cc_bcc | varchar | 2147483647 | √ | 'To'::character varying |
|
|
JSON or Text list specifying custom To, CC, and BCC email recipients beyond the defined recipient group. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_announcement_pk_tbl_announcement2 | Primary key | Asc | announcementid |


