Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
person_id | int8 | 19 | null |
|
|
PERSON ID is the system generated unique identifier for PERSON |
|||||
per_type | varchar | 10 | null |
|
|
||||||
first_name | varchar | 40 | √ | null |
|
|
The FIRST NAME is the first name of a person. |
||||
middle_name | varchar | 40 | √ | null |
|
|
The MIDDLE NAME is the middle name of a person. |
||||
last_name | varchar | 40 | null |
|
|
The LAST NAME is the last name of a person. |
|||||
title | varchar | 40 | √ | null |
|
|
The TITLE is the formal appellation attached to the PERSON’s name by virtue of office, rank, or attainment. |
||||
employee_id | int8 | 19 | √ | null |
|
|
The EMPLOYEE ID is the employee number assigned to the person |
||||
who_created | varchar | 32 | null |
|
|
WHO CREATED is the IDIR or Oracle userid of the person who created the record. |
|||||
when_created | timestamp | 29,6 | null |
|
|
WHEN CREATED is the date/time that the record was created. |
|||||
who_updated | varchar | 32 | √ | null |
|
|
WHO UPDATED is the IDIR or Oracle userid of the person who updated the record. |
||||
when_updated | timestamp | 29,6 | √ | null |
|
|
WHEN UPDATED is the date/time that the record was updated. |
||||
revision_count | int8 | 19 | 0 |
|
|
REVISION COUNT is used by Hibernate to control optimistic locking |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
oats_persons_pkey | Primary key | Asc | person_id |
Check Constraints
Constraint Name | Constraint |
---|---|
oats_per_chk | ((((per_type)::text = 'BPA'::text) AND (employee_id IS NULL)) OR (((per_type)::text = 'EMP'::text) AND ((employee_id IS NULL) OR (employee_id IS NOT NULL)))) |
avcon_1238100890_per_t_000 | ((per_type)::text = ANY ((ARRAY['EMP'::character varying, 'BPA'::character varying])::text[])) |