fix: 归档删除改为软删除
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
Min,
|
||||
Max,
|
||||
MaxLength,
|
||||
IsIn,
|
||||
} from 'class-validator';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@@ -133,6 +134,11 @@ export class UpdateScheduleDto {
|
||||
@IsString()
|
||||
@MaxLength(500)
|
||||
notes?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@IsIn(['active', 'inactive', 'cancelled'])
|
||||
status?: string;
|
||||
}
|
||||
|
||||
export class QueryScheduleDto {
|
||||
|
||||
Reference in New Issue
Block a user