app/apps/backend/src/app/groups/groups.dto.ts
Mathis e9277ba763
Reorder imports in groups.dto.ts
Rearranged the imports in `groups.dto.ts` to maintain alphabetical order and used double quotes for consistency with the rest of the project. This change does not alter functionality but improves code readability and maintainability.
2024-10-07 12:01:01 +02:00

9 lines
163 B
TypeScript

import { IsString, MaxLength, MinLength } from "class-validator";
export class CreateGroupDto {
@IsString()
@MinLength(4)
@MaxLength(64)
groupName: string;
}