import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
import { Team } from 'src/teams/entities/team.entity';
import { TeamSettingType } from 'src/teams/model/team-settings-type';

export class CreateTeamSettingDTO {
  @ApiProperty({ example: '1. Herren' })
  @IsNotEmpty()
  key: TeamSettingType;

  @ApiProperty({ example: '1. Herren' })
  @IsNotEmpty()
  value: string;

  @ApiProperty({ example: '1. Herren' })
  @IsNotEmpty()
  team: Team;
}
