mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
16 lines
253 B
TypeScript
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;
|
|
}
|