API staff pour foyer mono-parent : compte actif, liens + enfants, mail création MDP. Mini-specs front/back dans docs/tmp. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
658 B
TypeScript
24 lines
658 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { StatutUtilisateurType } from 'src/entities/users.entity';
|
|
|
|
/** Réponse 201 POST /parents/:id/co-parent (#135). */
|
|
export class StaffAddCoParentResponseDto {
|
|
@ApiProperty()
|
|
message: string;
|
|
|
|
@ApiProperty({ example: '2026-000043' })
|
|
numero_dossier: string;
|
|
|
|
@ApiProperty({ format: 'uuid', description: 'UUID du parent pivot' })
|
|
parent_user_id: string;
|
|
|
|
@ApiProperty({ format: 'uuid', description: 'UUID du co-parent créé' })
|
|
co_parent_user_id: string;
|
|
|
|
@ApiProperty({
|
|
enum: StatutUtilisateurType,
|
|
example: StatutUtilisateurType.ACTIF,
|
|
})
|
|
statut: StatutUtilisateurType;
|
|
}
|