Files
gridpilot.gg/apps/api/src/domain/sponsor/dtos/SponsorProfileDTO.ts
2025-12-19 23:18:53 +01:00

56 lines
920 B
TypeScript

import { ApiProperty } from '@nestjs/swagger';
import { IsString, IsOptional, IsObject } 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({ required: false })
@IsOptional()
@IsString()
logoUrl?: string;
@ApiProperty()
@IsString()
industry: string;
@ApiProperty({ type: Object })
address: {
street: string;
city: string;
country: string;
postalCode: string;
};
@ApiProperty()
@IsString()
taxId: string;
@ApiProperty({ type: Object })
socialLinks: {
twitter: string;
linkedin: string;
instagram: string;
};
}