dkala module
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
import { IsNotEmpty, IsString } from "class-validator";
|
||||
|
||||
export class CreateGroupDto {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
@ApiProperty({ description: "Group name", example: "Navigation Icons" })
|
||||
name: string;
|
||||
}
|
||||
Reference in New Issue
Block a user