import { IsBoolean, IsOptional } from 'class-validator';

export class EnrollDriverDto {
  @IsOptional()
  @IsBoolean()
  sendSignalMessage?: boolean = true;
}

export class EnrollmentResponseDto {
  success: boolean;
  deviceIdentifier: string;
  serverUrl: string;
  port: number;
  instructions: string;
  signalMessageSent?: boolean;
}

export class ConfirmConsentDto {
  @IsBoolean()
  consentGiven: boolean;
}
