import {
  IsString,
  IsEnum,
  IsOptional,
  IsBoolean,
  IsDateString,
} from 'class-validator';
import { Department, ArrivalMode } from '@prisma/client';

export class CreateVipDto {
  @IsString()
  name: string;

  @IsString()
  @IsOptional()
  organization?: string;

  @IsEnum(Department)
  department: Department;

  @IsEnum(ArrivalMode)
  arrivalMode: ArrivalMode;

  @IsDateString()
  @IsOptional()
  expectedArrival?: string;

  @IsBoolean()
  @IsOptional()
  airportPickup?: boolean;

  @IsBoolean()
  @IsOptional()
  venueTransport?: boolean;

  @IsString()
  @IsOptional()
  notes?: string;
}
