feat(medications): 新增药物激活状态管理及相关记录更新功能
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
IsArray,
|
||||
IsDateString,
|
||||
IsOptional,
|
||||
IsBoolean,
|
||||
Min,
|
||||
ArrayMinSize,
|
||||
Matches,
|
||||
@@ -101,4 +102,14 @@ export class CreateMedicationDto {
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
note?: string;
|
||||
|
||||
@ApiProperty({
|
||||
description: '是否激活',
|
||||
example: true,
|
||||
required: false,
|
||||
default: true
|
||||
})
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
isActive?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user