Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
Primary Key. |
|||||
| JobId | uuid | 2147483647 | null |
|
|
Foreign Key to Job Table. |
|||||
| salaryType | enum_JobSalaries_salaryType | 2147483647 | 'BASIC'::"enum_JobSalaries_salaryType" |
|
|
Salary Type ENUM (BASIC, BONUS). |
|||||
| salaryMode | enum_JobSalaries_salaryMode | 2147483647 | 'MONTH'::"enum_JobSalaries_salaryMode" |
|
|
Salary Payment Mode ENUM: (MONTH, YEAR, PROJECT). |
|||||
| minAmount | int4 | 10 | null |
|
|
Lower end of salary range. |
|||||
| maxAmount | int4 | 10 | √ | null |
|
|
Higher end of salary range. |
||||
| createdAt | timestamptz | 35,6 | null |
|
|
Entry creation date |
|||||
| updatedAt | timestamptz | 35,6 | null |
|
|
Datetime of last modification to any attribute |
|||||
| CurrencyCode | varchar | 255 | null |
|
|
ISO 4217 currency code that salary is in. Foreign Key References Currencies. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| JobSalaries_pkey | Primary key | Asc | id |
| JobSalaries_JobId_idx | Performance | Asc | JobId |
| JobSalaries_maxAmount_idx | Performance | Asc | maxAmount |
| JobSalaries_minAmount_idx | Performance | Asc | minAmount |

