import { ApiProperty } from '@nestjs/swagger';

export class TeamJoinRequestDTO {
  @ApiProperty()
  requestId!: string;

  @ApiProperty()
  driverId!: string;

  @ApiProperty()
  driverName!: string;

  @ApiProperty()
  teamId!: string;

  @ApiProperty()
  status!: 'pending' | 'approved' | 'rejected';

  @ApiProperty()
  requestedAt!: string;

  @ApiProperty({ nullable: true })
  avatarUrl!: string | null;
}