Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| employeelocationid | bigserial | 19 | √ | nextval('tbl_employeelocation_employeelocationid_seq'::regclass) |
|
|
Primary key |
||||
| employeeid | varchar | 500 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
||||
| locationname | varchar | 100 | null |
|
|
The user-friendly name of the authorized location (e.g., “Client Site A,” “Home Office - Mumbai,” “Project Everest”). |
|||||
| locationtype | varchar | 100 | null |
|
|
The classification of the location (e.g., Permanent, Temporary, Home, Project Site). |
|||||
| description | varchar | 500 | √ | null |
|
|
Detailed remarks or instructions related to the use of this location. |
||||
| latitude | float8 | 17,17 | null |
|
|
The geographical latitude coordinate of the center point of the authorized location. |
|||||
| longitude | float8 | 17,17 | null |
|
|
The geographical longitude coordinate of the center point of the authorized location. |
|||||
| punchinradius | float8 | 17,17 | √ | null |
|
|
The required circular distance (in meters) around the center point for a successful attendance punch-in. |
||||
| fencingradius | float8 | 17,17 | √ | null |
|
|
The outer radius (in meters) defining the absolute boundary of the geofence. |
||||
| status | varchar | 100 | null |
|
|
The current lifecycle status of the location configuration (e.g., Active, Inactive, Pending). |
|||||
| statusdate | timestamp | 29,6 | √ | null |
|
|
The timestamp when the current status was set. |
||||
| statusby | varchar | 500 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
||||
| statusremark | varchar | 500 | √ | null |
|
|
Comments or detailed justification provided by the user who set the current status. |
||||
| deleted | bool | 1 | null |
|
|
Flag indicating if the location configuration has been logically deleted (soft delete). |
|||||
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
||||
| createddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of when the location configuration 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 location configuration record. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_employeelocation_employeelocationid | Primary key | Asc | employeelocationid |
| uq_tbl_employeelocation_locationname | Must be unique | Asc | locationname |



