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

import { TeamDTO } from './TeamDto';
import { TeamMembershipDTO } from './TeamMembershipDTO';

export class GetDriverTeamOutputDTO {
  @ApiProperty({ type: TeamDTO })
  team!: TeamDTO;

  @ApiProperty({ type: TeamMembershipDTO })
  membership!: TeamMembershipDTO;

  @ApiProperty()
  isOwner!: boolean;

  @ApiProperty()
  canManage!: boolean;
}