mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
17 lines
293 B
TypeScript
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;
|
|
}
|