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

/**
 * Append a free-form note to a settlement. Stored as a controlled
 * append with a timestamp + user prefix on the `notes` column so the
 * detail page can scroll through historical context.
 */
export class AppendNoteDto {
  @IsString()
  @MinLength(1)
  @MaxLength(2000)
  text: string;
}
