Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [ ] TU/TI/TF rédigée - [ ] TU/TI/TF OK - [ ] CHANGELOG modifié Reviewed-on: #6 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
26 lines
647 B
TypeScript
26 lines
647 B
TypeScript
import type { Site } from './site'
|
|
import type { Contract } from './contract'
|
|
|
|
export type ContractHistoryItem = {
|
|
contractId?: number | null
|
|
contractName?: string | null
|
|
weeklyHours?: number | null
|
|
contractNature: 'CDI' | 'CDD' | 'INTERIM'
|
|
startDate: string
|
|
endDate?: string | null
|
|
comment?: string | null
|
|
}
|
|
|
|
export type Employee = {
|
|
id: number
|
|
firstName: string
|
|
lastName: string
|
|
site: Site
|
|
contract?: Contract | null
|
|
currentContractNature?: 'CDI' | 'CDD' | 'INTERIM'
|
|
currentContractStartDate?: string | null
|
|
currentContractEndDate?: string | null
|
|
contractHistory?: ContractHistoryItem[]
|
|
displayOrder?: number
|
|
}
|