Files
bookorbit/server/src/modules/email/dto/create-email-template.dto.ts
T

16 lines
253 B
TypeScript

import { IsString, MaxLength } from 'class-validator';
export class CreateEmailTemplateDto {
@IsString()
@MaxLength(255)
name: string;
@IsString()
@MaxLength(998)
subject: string;
@IsString()
@MaxLength(200_000)
bodyText: string;
}