import { IsNotEmpty, IsOptional, IsString, MaxLength } from 'class-validator';

export class AddProjectMemberDto {
  @IsString()
  @IsNotEmpty()
  userId!: string;

  @IsString()
  @IsOptional()
  @MaxLength(100)
  roleLabel?: string;

  @IsString()
  @IsOptional()
  @MaxLength(100)
  role?: string;
}
