import { IsEnum, IsOptional, IsString, MaxLength } from 'class-validator';
import { ProfileType } from '../entities/company-profile.entity';

export class CreateCompanyProfileDto {
  @IsEnum(ProfileType)
  type!: ProfileType;

  @IsOptional()
  @IsString()
  @MaxLength(100)
  businessLicense?: string;
}
