mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
refactor(nestjs): wip
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import { IsString } from 'class-validator';
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user