import { IsInt, IsString, IsEnum, IsOptional } from 'class-validator';

export enum TeamMemberRole {
  LEADER = 'leader',
  MEMBER = 'member',
  MENTOR = 'mentor',
}

export class InviteMemberDto {
  @IsInt()
  userId: number;

  @IsEnum(TeamMemberRole)
  @IsOptional()
  role?: TeamMemberRole;
}

