import { IsBoolean, IsOptional, IsString, MinLength } from "class-validator"; export class CreateTicketCommentDto { @IsString() @MinLength(1) body!: string; // Defaults to false (public comment) — is_internal=true is never // visible to the subscriber/reseller portals (enforced in // support.service.ts::get, not just by UI convention). @IsOptional() @IsBoolean() isInternal?: boolean; }