Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_album_id_seq'::regclass) |
|
|
Primary key |
|
| albumname | varchar | 50 | √ | null |
|
|
The user-friendly name of the photo album (e.g., “Annual Gala,” “Team Outing 2025”). |
|
| photocount | numeric | 0 | √ | '20'::numeric |
|
|
The total number of photos currently contained within the album. |
|
| displaystartdate | date | 13 | √ | null |
|
|
The date from which the album should become visible/accessible to employees. |
|
| displayenddate | date | 13 | √ | null |
|
|
The date on which the album should automatically stop being displayed (expire). |
|
| displayrotation | numeric | 0 | √ | null |
|
|
Configuration setting for how photos within the album should rotate or be displayed (e.g., slide show speed). |
|
| albumdescription | varchar | 500 | √ | null |
|
|
A detailed description or narrative about the event or purpose of the album. |
|
| applicablecriteria | varchar | 2147483647 | √ | null |
|
|
JSON or Text rule defining which employees or groups have permission to view this album (e.g., “Only employees in the Marketing Department”). |
|
| albumcoverphoto | varchar | 100 | √ | null |
|
|
The ID or URL of the specific photo designated as the album cover/thumbnail. |
|
| albummaxphoto | numeric | 0 | √ | '20'::numeric |
|
|
The maximum number of photos allowed to be stored in this album. |
|
| status | bool | 1 | √ | null |
|
|
The current lifecycle status of the album (e.g., Draft, Published, Archived). |
|
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
|
| createddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of when the album record was created. |
|
| modifiedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
|
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of the last modification to the album record. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_album_pk__tbl_albu__3214ec07e9ca239f | Primary key | Asc | id |
