14 lines
386 B
TypeScript
14 lines
386 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsNotEmpty, IsUUID } from 'class-validator';
|
|
|
|
/** Corps PUT couple de garde courant — ticket #168 */
|
|
export class DefinirCoupleGardeCourantDto {
|
|
@ApiProperty({
|
|
format: 'uuid',
|
|
description: 'Id du placement (enfants_assistantes_maternelles.id) à sélectionner',
|
|
})
|
|
@IsUUID()
|
|
@IsNotEmpty()
|
|
couple_id: string;
|
|
}
|