Files
bigcapital/packages/server/src/modules/Currencies/dtos/CreateCurrency.dto.ts
2025-05-27 15:42:27 +02:00

17 lines
293 B
TypeScript

import { IsNotEmpty } from "class-validator";
import { IsString } from "class-validator";
export class CreateCurrencyDto {
@IsString()
@IsNotEmpty()
currencyName: string;
@IsString()
@IsNotEmpty()
currencyCode: string;
@IsString()
@IsNotEmpty()
currencySign: string;
}