Skip to content

Commit

Permalink
๐Ÿ”ง fix: ๋งค๋„/๋งค์ˆ˜ ์‹œ ์ข…๋ชฉ ์ฝ”๋“œ isNotEmpty ํ™•์ธ ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
sieunie committed Nov 19, 2024
1 parent 405e2d3 commit 8d60390
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BE/src/stock/order/dto/stock-order-request.dto.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsInt, IsNumber, IsPositive } from 'class-validator';
import { IsInt, IsNotEmpty, IsNumber, IsPositive } from 'class-validator';

export class StockOrderRequestDto {
@ApiProperty({ description: '์ฃผ์‹ id', example: '005930' })
@IsNotEmpty()
stock_code: string;

@ApiProperty({ description: '๋งค์ˆ˜/๋งค๋„ ํฌ๋ง ๊ฐ€๊ฒฉ' })
Expand Down

0 comments on commit 8d60390

Please sign in to comment.