import { ApiProperty } from '@nestjs/swagger';
import { IsOptional, IsString } from 'class-validator';

export class SponsorProfileDTO {
  @ApiProperty()
  @IsString()
  companyName: string = '';

  @ApiProperty()
  @IsString()
  contactName: string = '';

  @ApiProperty()
  @IsString()
  contactEmail: string = '';

  @ApiProperty()
  @IsString()
  contactPhone: string = '';

  @ApiProperty()
  @IsString()
  website: string = '';

  @ApiProperty()
  @IsString()
  description: string = '';

  @ApiProperty({ nullable: true })
  @IsOptional()
  @IsString()
  logoUrl!: string | null;

  @ApiProperty()
  @IsString()
  industry: string = '';

  @ApiProperty({ type: Object })
  address: {
    street: string;
    city: string;
    country: string;
    postalCode: string;
  } = { street: '', city: '', country: '', postalCode: '' };

  @ApiProperty()
  @IsString()
  taxId: string = '';

  @ApiProperty({ type: Object })
  socialLinks: {
    twitter: string;
    linkedin: string;
    instagram: string;
  } = { twitter: '', linkedin: '', instagram: '' };
}