initial: standalone repo from monorepo split

This commit is contained in:
kevin-asprec
2026-04-13 09:36:55 +08:00
commit 4a8f1e9318
157 changed files with 9198 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { IsString, MinLength, IsOptional, IsIn, IsUUID } from 'class-validator';
export class CreateAccountDto {
@IsString() @MinLength(3) code: string;
@IsString() @MinLength(2) name: string;
@IsString() @IsIn(['asset', 'liability', 'equity', 'revenue', 'expense']) type: string;
@IsOptional() @IsUUID() parentId?: string;
}