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

export class CreateLabCaseCommentDto {
  @IsString()
  @MinLength(1)
  @MaxLength(2000)
  body: string;

  @IsOptional()
  @IsBoolean()
  visibleToClinic?: boolean;
}

export class SetCommentVisibilityDto {
  @IsBoolean()
  visibleToClinic: boolean;
}
