import { ApiProperty } from "@nestjs/swagger"; export class PayPeriodDto { @ApiProperty({ example: 1, description: 'numéro cyclique de la période entre 1 et 26' }) pay_period_no: number; @ApiProperty({ example: '2023-12-17', type: String, format: 'date' }) period_start: string; @ApiProperty({ example: '2023-12-30', type: String, format: 'date' }) period_end: string; @ApiProperty({ example: '2023-01-04', type: String, format: 'date' }) payday: string; @ApiProperty({ example: 2023 }) pay_year: number; @ApiProperty({ example: '2023-12-17 → 2023-12-30' }) label: string; }