import { IsNotEmpty, IsString } from 'class-validator'; export class AddFieldTranslationDto { @IsNotEmpty() @IsString() ObjectTable: string; @IsNotEmpty() @IsString() ObjectField: string; @IsNotEmpty() @IsString() ObjectId: string; @IsNotEmpty() @IsString() LanguageCode: string; @IsNotEmpty() @IsString() Translation: string; }