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

export class UpsertHelpTextDto {
  @IsString()
  @MaxLength(120)
  title!: string;

  @IsString()
  content!: string;

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