feat(inventory): implement numeric stock inventory across fullstack and improve prescription UX handoff
This commit is contained in:
1 parent
e9582430e6
commit
741365f04c
13 files changed
+177
-47
No files matched your search
@@ -241,6 +241,11 @@ export class ProductDto {
|
||||
@IsString()
|
||||
stockStatus?: 'IN_STOCK' | 'OUT_OF_STOCK' | 'PRE_ORDER' | 'DISCONTINUED';
|
||||
|
||||
@ApiPropertyOptional({ description: 'تعداد موجودی در انبار' })
|
||||
@IsOptional()
|
||||
@IsNumber()
|
||||
stock?: number;
|
||||
|
||||
@ApiPropertyOptional({ description: 'عدم ایندکس توسط موتورهای جستجو' })
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
|
||||
Reference in new issue
Block a user