adding entities for taskmanager

This commit is contained in:
2026-06-29 16:43:17 +03:30
parent 53090153fb
commit e728303d53
18 changed files with 507 additions and 44 deletions
@@ -0,0 +1,25 @@
import { IsString, IsOptional, IsBoolean, IsNotEmpty, IsUUID, MaxLength } from "class-validator";
export class CreateWorkspaceDto {
@IsString()
@IsNotEmpty()
@MaxLength(100)
name: string;
@IsString()
@IsOptional()
description?: string;
@IsString()
@IsNotEmpty()
@MaxLength(20)
color: string;
@IsBoolean()
@IsOptional()
isActive?: boolean;
@IsUUID()
@IsNotEmpty()
workspaceTypeId: string;
}