business
This commit is contained in:
@@ -1 +1,23 @@
|
||||
export class CreateBusinessDto {}
|
||||
|
||||
import { IsString, IsOptional, IsBoolean, IsInt, Min, IsEnum } from 'class-validator';
|
||||
import { ApiPropertyOptional, ApiProperty } from '@nestjs/swagger';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
|
||||
export class CreateBusinessDto {
|
||||
@IsString()
|
||||
@ApiProperty({ example: 'ایرانی' })
|
||||
danakSubscriptionId: string;
|
||||
|
||||
|
||||
@IsString()
|
||||
@ApiProperty()
|
||||
name: string;
|
||||
|
||||
@IsString()
|
||||
@ApiProperty()
|
||||
slug: string;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user