create token decorator and consumer module

This commit is contained in:
2026-03-16 17:56:51 +03:30
parent 0ad6a3200e
commit 69e9a0d082
38 changed files with 1027 additions and 66 deletions
@@ -0,0 +1,18 @@
import { ApiProperty, PartialType } from '@nestjs/swagger'
import { IsString } from 'class-validator'
export class CreateComplexDto {
@IsString()
@ApiProperty({})
name: string
@IsString()
@ApiProperty({})
tax_id: string
@IsString()
@ApiProperty({})
address: string
}
export class UpdateComplexDto extends PartialType(CreateComplexDto) {}