import { IsArray, IsEnum, ArrayMinSize } from "class-validator";
import { ProfileType } from "../entities/company-profile.entity";

export class AddCompanyProfilesDto {
  @IsArray()
  @ArrayMinSize(1)
  @IsEnum(ProfileType, { each: true })
  types!: ProfileType[];
}
